File tree Expand file tree Collapse file tree 6 files changed +69
-54
lines changed
Expand file tree Collapse file tree 6 files changed +69
-54
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,18 @@ buildscript {
1010 maven { url ' http://maven.aliyun.com/nexus/content/groups/public/' }
1111 maven { url ' http://maven.aliyun.com/nexus/content/repositories/jcenter' }
1212 google()
13+ maven { url ' https://jitpack.io' }
1314 }
1415 dependencies {
1516 classpath ' com.android.tools.build:gradle:4.2.1'
16- classpath ' com.novoda:bintray-release:0.8.1'
1717 // NOTE: Do not place your application dependencies here; they belong
1818 // in the individual module build.gradle files
1919 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
2020// classpath 'com.noober.plugin:savehelper-plugin:3.0.7'
2121 classpath ' com.noober.save:plugin:3.0.7'
2222 classpath ' org.aspectj:aspectjtools:1.9.4'
2323 classpath ' com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.10'
24+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.1'
2425 }
2526}
2627
@@ -29,6 +30,7 @@ allprojects {
2930 maven { url ' http://maven.aliyun.com/nexus/content/groups/public/' }
3031 maven { url ' http://maven.aliyun.com/nexus/content/repositories/jcenter' }
3132 google()
33+ maven { url ' https://jitpack.io' }
3234 }
3335 tasks. withType(Javadoc ) {
3436 options. addStringOption(' Xdoclint:none' , ' -quiet' )
Original file line number Diff line number Diff line change @@ -42,9 +42,14 @@ dependencies {
4242 implementation ' com.android.support:appcompat-v7:26.0.1'
4343 testImplementation ' junit:junit:4.12'
4444 implementation ' org.aspectj:aspectjrt:1.9.4'
45- implementation project(' :savehelper' )
46- implementation project(' :savehelper-api' )
47- kapt project(' :savehelper-processor' )
45+ // implementation project(':savehelper')
46+ // implementation project(':savehelper-api')
47+ // kapt project(':savehelper-processor')
4848// implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
49+
50+
51+ implementation ' com.github.JavaNoober:AutoSave:savehelper:4.0.0'
52+ implementation ' com.github.JavaNoober:AutoSave:savehelper-api:4.0.0'
53+ kapt ' com.github.JavaNoober:AutoSave:savehelper-processor:4.0.0'
4954}
5055
Original file line number Diff line number Diff line change 11apply plugin : ' java'
2- apply plugin : ' bintray-release'
2+ apply plugin : ' com.github.dcendents.android-maven'
3+
4+ group= ' com.noober.savehelper'
35
46dependencies {
57 compile fileTree(dir : ' libs' , include : [' *.jar' ])
@@ -9,12 +11,12 @@ sourceCompatibility = "1.7"
911targetCompatibility = " 1.7"
1012
1113// 添加
12- publish {
13- artifactId = ' savehelper-api'
14- userOrg = rootProject. userOrg
15- groupId = rootProject. groupId
16- uploadName = rootProject. uploadName
17- publishVersion = rootProject. publishVersion
18- desc = rootProject. desc
19- website = rootProject. website
20- }
14+ // publish {
15+ // artifactId = 'savehelper-api'
16+ // userOrg = rootProject.userOrg
17+ // groupId = rootProject.groupId
18+ // uploadName = rootProject.uploadName
19+ // publishVersion = rootProject.publishVersion
20+ // desc = rootProject.desc
21+ // website = rootProject.website
22+ // }
Original file line number Diff line number Diff line change 11apply plugin : ' groovy'
2- apply plugin : ' maven'
3- apply plugin : ' bintray-release'
2+ // apply plugin: 'maven'
3+ apply plugin : ' com.github.dcendents.android-maven'
4+
5+ group= ' com.noober.savehelper'
46
57dependencies {
68 implementation gradleApi()
@@ -14,23 +16,23 @@ dependencies {
1416repositories {
1517 jcenter()
1618}
17- group= ' com.noober.plugin'
18- version= rootProject. publishVersion
19- uploadArchives {
20- repositories {
21- mavenDeployer {
22- repository(url : uri(' ../publish' ))
23- }
24- }
25- }
19+ // group='com.noober.plugin'
20+ // version=rootProject.publishVersion
21+ // uploadArchives{
22+ // repositories {
23+ // mavenDeployer {
24+ // repository(url: uri('../publish'))
25+ // }
26+ // }
27+ // }
2628
2729// 添加
28- publish {
29- artifactId = ' plugin'
30- userOrg = rootProject. userOrg
31- groupId = ' com.noober.save'
32- uploadName = rootProject. uploadName
33- publishVersion = rootProject. publishVersion
34- desc = rootProject. desc
35- website = rootProject. website
36- }
30+ // publish {
31+ // artifactId = 'plugin'
32+ // userOrg = rootProject.userOrg
33+ // groupId = 'com.noober.save'
34+ // uploadName = rootProject.uploadName
35+ // publishVersion = rootProject.publishVersion
36+ // desc = rootProject.desc
37+ // website = rootProject.website
38+ // }
Original file line number Diff line number Diff line change 11apply plugin : ' java'
2- apply plugin : ' bintray-release'
2+ apply plugin : ' com.github.dcendents.android-maven'
3+
4+ group= ' com.noober.savehelper'
35
46dependencies {
57 implementation fileTree(include : [' *.jar' ], dir : ' libs' )
@@ -11,12 +13,12 @@ sourceCompatibility = "1.7"
1113targetCompatibility = " 1.7"
1214
1315// 添加
14- publish {
15- artifactId = ' processor'
16- userOrg = rootProject. userOrg
17- groupId = rootProject. groupId
18- uploadName = rootProject. uploadName
19- publishVersion = rootProject. publishVersion
20- desc = rootProject. desc
21- website = rootProject. website
22- }
16+ // publish {
17+ // artifactId = 'processor'
18+ // userOrg = rootProject.userOrg
19+ // groupId = rootProject.groupId
20+ // uploadName = rootProject.uploadName
21+ // publishVersion = rootProject.publishVersion
22+ // desc = rootProject.desc
23+ // website = rootProject.website
24+ // }
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ import org.aspectj.bridge.MessageHandler
33import org.aspectj.tools.ajc.Main
44
55apply plugin : ' com.android.library'
6- apply plugin : ' bintray-release'
6+ apply plugin : ' com.github.dcendents.android-maven'
7+
8+ group= ' com.noober.savehelper'
79
810android {
911 compileSdkVersion 27
@@ -77,12 +79,12 @@ variants.all { variant ->
7779}
7880
7981// 添加
80- publish {
81- artifactId = ' savehelper'
82- userOrg = rootProject. userOrg
83- groupId = rootProject. groupId
84- uploadName = rootProject. uploadName
85- publishVersion = rootProject. publishVersion
86- desc = rootProject. desc
87- website = rootProject. website
88- }
82+ // publish {
83+ // artifactId = 'savehelper'
84+ // userOrg = rootProject.userOrg
85+ // groupId = rootProject.groupId
86+ // uploadName = rootProject.uploadName
87+ // publishVersion = rootProject.publishVersion
88+ // desc = rootProject.desc
89+ // website = rootProject.website
90+ // }
You can’t perform that action at this time.
0 commit comments