Commit f97a55c 1 parent 1026b34 commit f97a55c Copy full SHA for f97a55c
File tree 4 files changed +27
-11
lines changed
4 files changed +27
-11
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ dependencies {
28
28
exclude group : ' com.android.support' , module : ' support-annotations'
29
29
})
30
30
31
- debugCompile project(path : ' :wcdb' , configuration : ' debug' )
32
- releaseCompile project(path : ' :wcdb' , configuration : ' release' )
31
+ // debugCompile project(path: ':wcdb', configuration: 'debug')
32
+ // releaseCompile project(path: ':wcdb', configuration: 'release')
33
+ compile ' com.tencent.wcdb:wcdb-android:1.0.0'
33
34
compile ' com.android.support:appcompat-v7:25.3.1'
34
35
compile ' com.android.support.constraint:constraint-layout:1.0.2'
35
36
compile ' com.android.support:design:25.3.1'
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ dependencies {
28
28
exclude group : ' com.android.support' , module : ' support-annotations'
29
29
})
30
30
31
- debugCompile project(path : ' :wcdb' , configuration : ' debug' )
32
- releaseCompile project(path : ' :wcdb' , configuration : ' release' )
31
+ // debugCompile project(path: ':wcdb', configuration: 'debug')
32
+ // releaseCompile project(path: ':wcdb', configuration: 'release')
33
+ compile ' com.tencent.wcdb:wcdb-android:1.0.0'
33
34
compile ' com.android.support:appcompat-v7:25.3.1'
34
35
compile ' com.android.support.constraint:constraint-layout:1.0.2'
35
36
testCompile ' junit:junit:4.12'
Original file line number Diff line number Diff line change @@ -55,12 +55,26 @@ publishing {
55
55
artifactId ' wcdb-android'
56
56
version rootProject. VERSION_NAME
57
57
58
- pom. withXml {
59
- def root = asNode()
60
- root. appendNode(' description' , ' ' )
61
- root. appendNode(' name' , ' WCDB' )
62
- root. appendNode(' url' , ' https://github.com/Tencent/wcdb' )
63
- root. children(). last() + pomConfig
58
+ pom {
59
+ packaging ' aar'
60
+
61
+ withXml {
62
+ def root = asNode()
63
+ root. appendNode(' description' , ' ' )
64
+ root. appendNode(' name' , ' WCDB' )
65
+ root. appendNode(' url' , ' https://github.com/Tencent/wcdb' )
66
+ root. children(). last() + pomConfig
67
+
68
+ def depNode = root. appendNode(' dependencies' )
69
+ configurations. compile. allDependencies. each {
70
+ if (it. group != null ) {
71
+ def dependencyNode = depNode. appendNode(' dependency' )
72
+ dependencyNode. appendNode(' groupId' , it. group)
73
+ dependencyNode. appendNode(' artifactId' , it. name)
74
+ dependencyNode. appendNode(' version' , it. version)
75
+ }
76
+ }
77
+ }
64
78
}
65
79
}
66
80
}
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ android {
60
60
}
61
61
62
62
defaultPublishConfig ' release'
63
- publishNonDefault true
63
+ // publishNonDefault true
64
64
}
65
65
66
66
dependencies {
You can’t perform that action at this time.
0 commit comments