Skip to content

Commit 0291e96

Browse files
author
dongqing
committed
change to bintray
1 parent f86a185 commit 0291e96

File tree

6 files changed

+51
-101
lines changed

6 files changed

+51
-101
lines changed

activityrouter/build.gradle

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
11
apply plugin: 'com.android.library'
2-
3-
sourceCompatibility = 1.7
4-
targetCompatibility = 1.7
5-
6-
ext {
7-
bintrayRepo = 'maven'
8-
bintrayName = 'activity-router'
9-
10-
publishedGroupId = 'com.github.mzule.activityrouter'
11-
libraryName = 'ActivityRouter'
12-
artifact = 'activityrouter'
13-
14-
libraryDescription = 'Router activities'
15-
16-
siteUrl = 'https://github.com/mzule/ActivityRouter/'
17-
gitUrl = 'https://github.com/mzule/ActivityRouter.git'
18-
19-
libraryVersion = '1.2.2'
20-
21-
developerId = 'mzule'
22-
developerName = 'Cao Dongping'
23-
developerEmail = '[email protected]'
24-
25-
licenseName = 'The Apache Software License, Version 2.0'
26-
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
27-
allLicenses = ["Apache-2.0"]
28-
}
2+
apply plugin: 'com.novoda.bintray-release'
293

304
android {
31-
compileSdkVersion 23
32-
buildToolsVersion "23.0.2"
5+
compileSdkVersion 26
6+
buildToolsVersion "26.0.2"
337

348
defaultConfig {
35-
minSdkVersion 7
36-
targetSdkVersion 23
9+
minSdkVersion 15
10+
targetSdkVersion 26
3711
versionCode 1
3812
versionName "1.0"
3913
}
@@ -47,9 +21,15 @@ android {
4721

4822
dependencies {
4923
provided project(':stub')
50-
compile 'com.github.mzule.activityrouter:annotation:1.1.5'
24+
compile 'com.qunhe.android:annotation:1.0.1'
5125
}
5226

53-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
54-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
27+
publish {
28+
userOrg = 'qunhe'
29+
groupId = 'com.qunhe.android'
30+
artifactId = 'activityrouter'
31+
publishVersion = '1.0.2'
32+
desc = 'This is the libs package of ActivityRouter'
33+
website = 'https://github.com/CPPAlien/ActivityRouter'
34+
}
5535

annotation/build.gradle

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,18 @@
11
apply plugin: 'java'
2+
apply plugin: 'com.novoda.bintray-release'
23

3-
sourceCompatibility = 1.7
4-
targetCompatibility = 1.7
5-
6-
ext {
7-
bintrayRepo = 'maven'
8-
bintrayName = 'activity-router-annotation'
9-
10-
publishedGroupId = 'com.github.mzule.activityrouter'
11-
libraryName = 'Annotation'
12-
artifact = 'annotation'
13-
14-
libraryDescription = 'Router activities'
15-
16-
siteUrl = 'https://github.com/mzule/ActivityRouter/'
17-
gitUrl = 'https://github.com/mzule/ActivityRouter.git'
18-
19-
libraryVersion = '1.1.5'
20-
21-
developerId = 'mzule'
22-
developerName = 'Cao Dongping'
23-
developerEmail = '[email protected]'
24-
25-
licenseName = 'The Apache Software License, Version 2.0'
26-
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
27-
allLicenses = ["Apache-2.0"]
28-
}
4+
targetCompatibility = '1.7'
5+
sourceCompatibility = '1.7'
296

307
dependencies {
318
compile fileTree(dir: 'libs', include: ['*.jar'])
329
}
3310

34-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
35-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
11+
publish {
12+
userOrg = 'qunhe'
13+
groupId = 'com.qunhe.android'
14+
artifactId = 'annotation'
15+
publishVersion = '1.0.1'
16+
desc = 'This is the libs package of ActivityRouter'
17+
website = 'https://github.com/CPPAlien/ActivityRouter'
18+
}

app/build.gradle

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
apply plugin: 'com.android.application'
22

3-
sourceCompatibility = 1.7
4-
targetCompatibility = 1.7
5-
63
android {
7-
compileSdkVersion 23
8-
buildToolsVersion "23.0.2"
4+
compileSdkVersion 26
5+
buildToolsVersion "26.0.2"
96

107
defaultConfig {
118
applicationId "com.github.mzule.activityrouter"
129
minSdkVersion 15
13-
targetSdkVersion 23
10+
targetSdkVersion 26
1411
versionCode 1
1512
versionName "1.0"
1613
}
@@ -29,7 +26,7 @@ android {
2926
dependencies {
3027
compile fileTree(include: ['*.jar'], dir: 'libs')
3128
testCompile 'junit:junit:4.12'
32-
compile 'com.android.support:appcompat-v7:23.2.1'
29+
compile 'com.android.support:appcompat-v7:26.1.0'
3330
compile project(':app_module')
3431
annotationProcessor project(':compiler')
3532
}

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.android.tools.build:gradle:2.2.3'
9-
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
10-
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
9+
classpath 'com.novoda:bintray-release:0.4.0'
1110

1211
// NOTE: Do not place your application dependencies here; they belong
1312
// in the individual module build.gradle files
@@ -17,6 +16,12 @@ buildscript {
1716
allprojects {
1817
repositories {
1918
jcenter()
19+
maven {
20+
url "https://maven.google.com"
21+
}
22+
maven {
23+
url "https://dl.bintray.com/qunhe/maven"
24+
}
2025
}
2126
}
2227

compiler/build.gradle

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,20 @@
11
apply plugin: 'java'
2+
apply plugin: 'com.novoda.bintray-release'
23

3-
sourceCompatibility = 1.7
4-
targetCompatibility = 1.7
5-
6-
ext {
7-
bintrayRepo = 'maven'
8-
bintrayName = 'activity-router-compiler'
9-
10-
publishedGroupId = 'com.github.mzule.activityrouter'
11-
libraryName = 'Compiler'
12-
artifact = 'compiler'
13-
14-
libraryDescription = 'Router activities'
15-
16-
siteUrl = 'https://github.com/mzule/ActivityRouter/'
17-
gitUrl = 'https://github.com/mzule/ActivityRouter.git'
18-
19-
libraryVersion = '1.1.7'
20-
21-
developerId = 'mzule'
22-
developerName = 'Cao Dongping'
23-
developerEmail = '[email protected]'
24-
25-
licenseName = 'The Apache Software License, Version 2.0'
26-
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
27-
allLicenses = ["Apache-2.0"]
28-
}
4+
targetCompatibility = '1.7'
5+
sourceCompatibility = '1.7'
296

307
dependencies {
318
compile 'com.squareup:javapoet:1.8.0'
329
compile 'com.google.auto.service:auto-service:1.0-rc3'
33-
compile 'com.github.mzule.activityrouter:annotation:1.1.5'
10+
compile 'com.qunhe.android:annotation:1.0.1'
3411
}
3512

36-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
37-
apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'
38-
13+
publish {
14+
userOrg = 'qunhe'
15+
groupId = 'com.qunhe.android'
16+
artifactId = 'compiler'
17+
publishVersion = '1.0.2'
18+
desc = 'This is the libs package of ActivityRouter'
19+
website = 'https://github.com/CPPAlien/ActivityRouter'
20+
}

stub/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apply plugin: 'java'
22

3+
sourceCompatibility = '1.7'
4+
targetCompatibility = '1.7'
5+
36
dependencies {
47
compile fileTree(dir: 'libs', include: ['*.jar'])
58
}

0 commit comments

Comments
 (0)