File tree Expand file tree Collapse file tree 6 files changed +32
-45
lines changed
powerpermission-coroutines Expand file tree Collapse file tree 6 files changed +32
-45
lines changed Original file line number Diff line number Diff line change 11ext {
22 // APP VERSION
33 androidVersionCode = 1
4- androidVersionName = " 1.2 .0"
4+ androidVersionName = " 1.3 .0"
55
66 // ANDROID VERSION
77 androidCompileSdkVersion = 29
4949 mockK = " io.mockk:mockk:$mockKVersion "
5050
5151
52- publishVersionID = " 1.2 .0"
52+ publishVersionID = " 1.3 .0"
5353 groupProjectID = " com.qifan.powerpermission"
5454 userName = " Qifan YANG"
5555 userId = " underwindfall"
Original file line number Diff line number Diff line change @@ -60,10 +60,6 @@ task androidSourcesJar(type: Jar) {
6060 from android. sourceSets. main. java. source
6161}
6262
63- artifacts {
64- archives androidSourcesJar
65- archives androidJavadocsJar
66- }
6763
6864afterEvaluate {
6965 publishing {
@@ -72,6 +68,8 @@ afterEvaluate {
7268 groupId = groupProjectID
7369 artifactId = " powerpermission-coroutines"
7470 version = publishVersionID
71+ artifact androidSourcesJar
72+ artifact androidJavadocsJar
7573 pom {
7674 name = libName
7775 description = descriptionLib
@@ -112,9 +110,9 @@ bintray {
112110 vcsUrl = gitUrl
113111 licenses = [' Apache-2.0' ]
114112 publish = true
115- }
116-
117- version {
118- name = publishVersionID
113+ version {
114+ name = publishVersionID
115+ }
116+ publications = [ ' release ' ]
119117 }
120118}
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ task androidSourcesJar(type: Jar) {
5858 from android. sourceSets. main. java. source
5959}
6060
61- artifacts {
62- archives androidSourcesJar
63- archives androidJavadocsJar
64- }
6561
6662afterEvaluate {
6763 publishing {
@@ -70,6 +66,8 @@ afterEvaluate {
7066 groupId = groupProjectID
7167 artifactId = " powerpermission-livedata"
7268 version = publishVersionID
69+ artifact androidSourcesJar
70+ artifact androidJavadocsJar
7371 pom {
7472 name = libName
7573 description = descriptionLib
@@ -102,17 +100,16 @@ bintray {
102100 user = System . getenv(" bintrayUser" )
103101 key = System . getenv(" bintrayApiKey" )
104102
105- configurations = [' archives' ]
106103 pkg {
107104 repo = " PowerPermission"
108105 name = " powerpermission-livedata"
109106 websiteUrl = websiteLib
110107 vcsUrl = gitUrl
111108 licenses = [' Apache-2.0' ]
112109 publish = true
113- }
114-
115- version {
116- name = publishVersionID
110+ version {
111+ name = publishVersionID
112+ }
113+ publications = [ ' release ' ]
117114 }
118115}
Original file line number Diff line number Diff line change @@ -57,10 +57,6 @@ task androidSourcesJar(type: Jar) {
5757 from android. sourceSets. main. java. source
5858}
5959
60- artifacts {
61- archives androidSourcesJar
62- archives androidJavadocsJar
63- }
6460
6561afterEvaluate {
6662 publishing {
@@ -69,6 +65,8 @@ afterEvaluate {
6965 groupId = groupProjectID
7066 artifactId = " powerpermission-rxjava2"
7167 version = publishVersionID
68+ artifact androidSourcesJar
69+ artifact androidJavadocsJar
7270 pom {
7371 name = libName
7472 description = descriptionLib
@@ -101,17 +99,16 @@ bintray {
10199 user = System . getenv(" bintrayUser" )
102100 key = System . getenv(" bintrayApiKey" )
103101
104- configurations = [' archives' ]
105102 pkg {
106103 repo = " PowerPermission"
107104 name = " powerpermission-rxjava2"
108105 websiteUrl = websiteLib
109106 vcsUrl = gitUrl
110107 licenses = [' Apache-2.0' ]
111108 publish = true
112- }
113-
114- version {
115- name = publishVersionID
109+ version {
110+ name = publishVersionID
111+ }
112+ publications = [ ' release ' ]
116113 }
117114}
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ task androidSourcesJar(type: Jar) {
5858 from android. sourceSets. main. java. source
5959}
6060
61- artifacts {
62- archives androidSourcesJar
63- archives androidJavadocsJar
64- }
6561
6662afterEvaluate {
6763 publishing {
@@ -70,6 +66,8 @@ afterEvaluate {
7066 groupId = groupProjectID
7167 artifactId = " powerpermission-rxjava3"
7268 version = publishVersionID
69+ artifact androidSourcesJar
70+ artifact androidJavadocsJar
7371 pom {
7472 name = libName
7573 description = descriptionLib
@@ -110,8 +108,9 @@ bintray {
110108 vcsUrl = gitUrl
111109 licenses = [' Apache-2.0' ]
112110 publish = true
113- }
114- version {
115- name = publishVersionID
111+ version {
112+ name = publishVersionID
113+ }
114+ publications = [' release' ]
116115 }
117116}
Original file line number Diff line number Diff line change @@ -81,18 +81,15 @@ task androidSourcesJar(type: Jar) {
8181 from android. sourceSets. main. java. source
8282}
8383
84- artifacts {
85- archives androidSourcesJar
86- archives androidJavadocsJar
87- }
88-
8984afterEvaluate {
9085 publishing {
9186 publications {
9287 release(MavenPublication ) {
9388 groupId = groupProjectID
9489 artifactId = " powerpermission"
9590 version = publishVersionID
91+ artifact androidSourcesJar
92+ artifact androidJavadocsJar
9693 pom {
9794 name = libName
9895 description = descriptionLib
@@ -125,17 +122,16 @@ bintray {
125122 user = System . getenv(" bintrayUser" )
126123 key = System . getenv(" bintrayApiKey" )
127124
128- configurations = [' archives' ]
129125 pkg {
130126 repo = " PowerPermission"
131127 name = " powerpermission"
132128 websiteUrl = websiteLib
133129 vcsUrl = gitUrl
134130 licenses = [' Apache-2.0' ]
135131 publish = true
136- }
137-
138- version {
139- name = publishVersionID
132+ version {
133+ name = publishVersionID
134+ }
135+ publications = [ ' release ' ]
140136 }
141137}
You can’t perform that action at this time.
0 commit comments