Skip to content

Commit

Permalink
Migrate from jcenter to mavenCentral and release 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Jun 17, 2021
1 parent 38c0eea commit c10c135
Show file tree
Hide file tree
Showing 15 changed files with 230 additions and 179 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

module|arouter-api|arouter-compiler|arouter-register|arouter-idea-plugin
---|---|---|---|---
version|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-api/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-api/_latestVersion)|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-compiler/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-compiler/_latestVersion)|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-register/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-register/_latestVersion)|[![as plugin](https://img.shields.io/jetbrains/plugin/d/11428-arouter-helper.svg)](https://plugins.jetbrains.com/plugin/11428-arouter-helper)
version|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-api)|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-compiler/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-compiler)|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-register/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-register)|[![as plugin](https://img.shields.io/jetbrains/plugin/d/11428-arouter-helper.svg)](https://plugins.jetbrains.com/plugin/11428-arouter-helper)

#### Demo

Expand Down Expand Up @@ -117,7 +117,7 @@ version|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-api/
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down Expand Up @@ -493,7 +493,7 @@ annotation,**Only the routing information of the same group can be registered
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down
10 changes: 5 additions & 5 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

模块|arouter-api|arouter-compiler|arouter-register|arouter-idea-plugin
---|---|---|---|---
最新版本|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-api/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-api/_latestVersion)|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-compiler/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-compiler/_latestVersion)|[![Download](https://api.bintray.com/packages/zhi1ong/maven/arouter-register/images/download.svg)](https://bintray.com/zhi1ong/maven/arouter-register/_latestVersion)|[![as plugin](https://img.shields.io/jetbrains/plugin/d/11428-arouter-helper.svg)](https://plugins.jetbrains.com/plugin/11428-arouter-helper)
最新版本|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-api)|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-compiler/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-compiler)|[![Download](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-register/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.alibaba/arouter-register)|[![as plugin](https://img.shields.io/jetbrains/plugin/d/11428-arouter-helper.svg)](https://plugins.jetbrains.com/plugin/11428-arouter-helper)

#### Demo展示

Expand Down Expand Up @@ -119,7 +119,7 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
Expand Down Expand Up @@ -534,17 +534,17 @@
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
}
}
apt {
arguments {
AROUTER_MODULE_NAME project.getName();
AROUTER_MODULE_NAME project.getName();
}
}
Expand Down
17 changes: 4 additions & 13 deletions arouter-annotation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
apply plugin: 'java'

ext {
bintrayName = 'arouter-annotation'
artifact = bintrayName
libraryName = 'ARouter annotation'
libraryDescription = 'The annotation used in arouter api'
libraryVersion = arouter_annotation_version
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
apply from: rootProject.file('gradle/publish.gradle')
5 changes: 5 additions & 0 deletions arouter-annotation/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
POM_NAME=ARouter Annotations
POM_ARTIFACT_ID=arouter-annotation
POM_PACKAGING=jar
POM_DESCRIPTION=The annotation used in arouter api
VERSION_NAME=1.0.6
13 changes: 2 additions & 11 deletions arouter-api/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
apply plugin: 'com.android.library'

ext {
bintrayName = 'arouter-api'
artifact = bintrayName
libraryName = 'ARouter sdk'
libraryDescription = 'A router for android'
libraryVersion = arouter_main_version
}

android {
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
buildToolsVersion BUILDTOOLS_VERSION
Expand Down Expand Up @@ -39,10 +31,9 @@ android {
}

dependencies {
annotationProcessor 'com.alibaba:arouter-compiler:1.5.1'
annotationProcessor 'com.alibaba:arouter-compiler:1.5.2'
api 'com.alibaba:arouter-annotation:1.0.6'
implementation "com.android.support:support-v4:${SUPPORT_LIB_VERSION}"
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
apply from: rootProject.file('gradle/publish.gradle')
5 changes: 5 additions & 0 deletions arouter-api/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
POM_NAME=ARouter SDK
POM_ARTIFACT_ID=arouter-api
POM_PACKAGING=aar
POM_DESCRIPTION=Route framework for android
VERSION_NAME=1.5.2
11 changes: 1 addition & 10 deletions arouter-compiler/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
apply plugin: 'java'

ext {
bintrayName = 'arouter-compiler'
artifact = bintrayName
libraryName = 'ARouter compiler'
libraryDescription = 'A compiler for ARouter to find route'
libraryVersion = arouter_main_version
}

compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
Expand All @@ -27,5 +19,4 @@ dependencies {
implementation 'com.alibaba:fastjson:1.2.69'
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
apply from: rootProject.file('gradle/publish.gradle')
5 changes: 5 additions & 0 deletions arouter-compiler/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
POM_NAME=ARouter Compiler
POM_ARTIFACT_ID=arouter-compiler
POM_PACKAGING=jar
POM_DESCRIPTION=Compiler for ARouter to find route
VERSION_NAME=1.5.2
11 changes: 1 addition & 10 deletions arouter-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
apply plugin: 'groovy'

ext {
bintrayName = 'arouter-register'
artifact = bintrayName
libraryName = 'ARouter register gradle plugin'
libraryDescription = 'A gradle plugin used for arouter route map register'
libraryVersion = arouter_register_version
}

dependencies {
compile gradleApi()
compile localGroovy()
Expand All @@ -17,5 +9,4 @@ dependencies {
compile 'com.android.tools.build:gradle:2.1.3'
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
apply from: rootProject.file('gradle/publish.gradle')
5 changes: 5 additions & 0 deletions arouter-gradle-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
POM_NAME=ARouter Register
POM_ARTIFACT_ID=arouter-register
POM_PACKAGING=jar
POM_DESCRIPTION=Gradle plugin used for arouter route map register
VERSION_NAME=1.0.2
61 changes: 0 additions & 61 deletions bintray.gradle

This file was deleted.

11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@ buildscript {
ext.arouter_register_version = '1.0.2'

repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
url 'http://dl.bintray.com/jetbrains/intellij-plugin-service'
}
mavenCentral()
jcenter()
google()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.alibaba:arouter-register:$arouter_register_version"
Expand All @@ -26,7 +21,11 @@ buildscript {

allprojects {
repositories {
jcenter()
mavenLocal()
mavenCentral()
maven {
url "https://s01.oss.sonatype.org/content/repositories/releases/"
}
google()
}
}
31 changes: 15 additions & 16 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,20 @@ SUPPORT_LIB_VERSION=28.0.0
MIN_SDK_VERSION=14
TARGET_SDK_VERSION=28

arouter_main_version=1.5.2
arouter_annotation_version=1.0.6
arouter_register_version=1.0.2
arouter_idea_plugin_version=1.0.0
support_idea_version=2016.2.5
arouter_idea_plugin_name=ARouter Road Sign
GROUP=com.alibaba

POM_URL=https://github.com/Alibaba/ARouter/
POM_SCM_URL=https://github.com/Alibaba/ARouter/
POM_SCM_CONNECTION=scm:git:git://github.com/Alibaba/ARouter.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/Alibaba/ARouter.git

bintrayRepo=maven
publishedGroupId=com.alibaba
siteUrl=https://github.com/Alibaba/ARouter
gitUrl=https://github.com/Alibaba/ARouter.git
developerId=zhi1ong
developerName=zhilong.liu
developerEmail=[email protected]
POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

licenseName=The Apache Software License, Version 2.0
licenseUrl=http://www.apache.org/licenses/LICENSE-2.0.txt
allLicenses=["Apache-2.0"]
POM_DEVELOPER_ID=zhi1ong
POM_DEVELOPER_NAME=ZhiLong Liu

arouter_idea_plugin_version=1.0.0
support_idea_version=2016.2.5
arouter_idea_plugin_name=ARouter Road Sign
Loading

0 comments on commit c10c135

Please sign in to comment.