Skip to content

Commit 51d2bf5

Browse files
committed
change to bintray
1 parent f86a185 commit 51d2bf5

File tree

5 files changed

+40
-87
lines changed

5 files changed

+40
-87
lines changed

activityrouter/build.gradle

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,9 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.novoda.bintray-release'
23

34
sourceCompatibility = 1.7
45
targetCompatibility = 1.7
56

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-
}
29-
307
android {
318
compileSdkVersion 23
329
buildToolsVersion "23.0.2"
@@ -47,9 +24,15 @@ android {
4724

4825
dependencies {
4926
provided project(':stub')
50-
compile 'com.github.mzule.activityrouter:annotation:1.1.5'
27+
compile 'com.qunhe.android:annotation:1.0.0'
5128
}
5229

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

annotation/build.gradle

Lines changed: 9 additions & 26 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

34
sourceCompatibility = 1.7
45
targetCompatibility = 1.7
56

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-
}
29-
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.0'
16+
desc = 'This is the libs package of ActivityRouter'
17+
website = 'https://github.com/CPPAlien/ActivityRouter'
18+
}

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ sourceCompatibility = 1.7
44
targetCompatibility = 1.7
55

66
android {
7-
compileSdkVersion 23
8-
buildToolsVersion "23.0.2"
7+
compileSdkVersion 26
8+
buildToolsVersion "26.0.2"
99

1010
defaultConfig {
1111
applicationId "com.github.mzule.activityrouter"
1212
minSdkVersion 15
13-
targetSdkVersion 23
13+
targetSdkVersion 26
1414
versionCode 1
1515
versionName "1.0"
1616
}
@@ -29,7 +29,7 @@ android {
2929
dependencies {
3030
compile fileTree(include: ['*.jar'], dir: 'libs')
3131
testCompile 'junit:junit:4.12'
32-
compile 'com.android.support:appcompat-v7:23.2.1'
32+
compile 'com.android.support:appcompat-v7:26.1.0'
3333
compile project(':app_module')
3434
annotationProcessor project(':compiler')
3535
}

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: 10 additions & 28 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

34
sourceCompatibility = 1.7
45
targetCompatibility = 1.7
56

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-
}
29-
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.0'
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.1'
18+
desc = 'This is the libs package of ActivityRouter'
19+
website = 'https://github.com/CPPAlien/ActivityRouter'
20+
}

0 commit comments

Comments
 (0)