File tree Expand file tree Collapse file tree
resources/META-INF/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 userOrg = ' xqand'
2929 groupId = ' com.xqand'
3030 uploadName = ' AutoSave'
31- publishVersion = ' 1.1.0 '
31+ publishVersion = ' 1.1.1 '
3232 desc = ' A framework can automatically generate OnSaveInstanceState code'
3333 website = ' https://github.com/xiaoqiAndroid/AutoSave'
3434}
Original file line number Diff line number Diff line change @@ -22,6 +22,13 @@ android {
2222 }
2323}
2424
25+ repositories {
26+ maven {
27+ url ' https://xqand.bintray.com/maven/'
28+ }
29+ }
30+
31+
2532dependencies {
2633 compile fileTree(include : [' *.jar' ], dir : ' libs' )
2734 androidTestCompile(' com.android.support.test.espresso:espresso-core:2.2.2' , {
Original file line number Diff line number Diff line change 11apply plugin : ' java'
2+ apply plugin : ' bintray-release'
23
34dependencies {
45 compile fileTree(dir : ' libs' , include : [' *.jar' ])
56}
67
78sourceCompatibility = " 1.7"
89targetCompatibility = " 1.7"
10+
11+ // 添加
12+ publish {
13+ artifactId = ' xqauto-api'
14+ userOrg = rootProject. userOrg
15+ groupId = rootProject. groupId
16+ uploadName = rootProject. uploadName
17+ publishVersion = rootProject. publishVersion
18+ desc = rootProject. description
19+ website = rootProject. website
20+ }
Original file line number Diff line number Diff line change 11apply plugin : ' java'
2+ apply plugin : ' bintray-release'
23
34dependencies {
45 compile fileTree(include : [' *.jar' ], dir : ' libs' )
5- compile ' com.google.auto:auto-common:0.6'
6- compile ' com.google.auto.service:auto-service:1.0-rc2'
6+ // compile 'com.google.auto:auto-common:0.6'
7+ // compile 'com.google.auto.service:auto-service:1.0-rc2'
78 compile ' com.squareup:javapoet:1.8.0'
89 compile project(' :xqauto-api' )
910}
1011
1112sourceCompatibility = " 1.7"
1213targetCompatibility = " 1.7"
14+
15+ // 添加
16+ publish {
17+ artifactId = ' xqauto-processor'
18+ userOrg = rootProject. userOrg
19+ groupId = rootProject. groupId
20+ uploadName = rootProject. uploadName
21+ publishVersion = rootProject. publishVersion
22+ desc = rootProject. description
23+ website = rootProject. website
24+ }
Original file line number Diff line number Diff line change 11package com .xqand .processor ;
22
33
4- import com .google .auto .service .AutoService ;
54import com .xqand .helper .HelperClass ;
65import com .xqand .helper .HelperSavedValues ;
76import com .processor .NeedSave ;
2524import javax .lang .model .util .Types ;
2625import javax .tools .Diagnostic ;
2726
28- @ AutoService (Processor .class )
27+ // @AutoService(Processor.class)
2928public class AutoSaveProcessor extends AbstractProcessor {
3029
3130 private Types typeUtils ;
Original file line number Diff line number Diff line change 1+ com.xqand.processor.AutoSaveProcessor
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
2+ apply plugin : ' bintray-release'
23
34android {
45 compileSdkVersion 25
@@ -29,3 +30,14 @@ dependencies {
2930 compile ' com.android.support:appcompat-v7:25.0.1'
3031 testCompile ' junit:junit:4.12'
3132}
33+
34+ // 添加
35+ publish {
36+ artifactId = ' xqauto-savehelper'
37+ userOrg = rootProject. userOrg
38+ groupId = rootProject. groupId
39+ uploadName = rootProject. uploadName
40+ publishVersion = rootProject. publishVersion
41+ desc = rootProject. description
42+ website = rootProject. website
43+ }
You can’t perform that action at this time.
0 commit comments