File tree Expand file tree Collapse file tree 1 file changed +9
-14
lines changed
Expand file tree Collapse file tree 1 file changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -188,25 +188,20 @@ subprojects {
188188// }
189189// }
190190 }
191+ }
192+ }
191193
192- nexusPublishing {
193- repositories {
194- myNexus {
195- nexusUrl = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2" )
196- snapshotRepositoryUrl = uri(" https://oss.sonatype.org/content/repositories/snapshots/" )
197- username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
198- password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
199- }
200- }
194+ nexusPublishing {
195+ repositories {
196+ myNexus {
197+ nexusUrl = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2" )
198+ snapshotRepositoryUrl = uri(" https://oss.sonatype.org/content/repositories/snapshots/" )
199+ username = System . env. OSS_USER_TOKEN_KEY ?: project. findProperty(' OSS_USER_TOKEN_KEY' ) ?: ' '
200+ password = System . env. OSS_USER_TOKEN_PASS ?: project. findProperty(' OSS_USER_TOKEN_PASS' ) ?: ' '
201201 }
202202 }
203203}
204204
205- // nexusStaging {
206- // username = System.env.OSS_USER_TOKEN_KEY ?: project.findProperty('OSS_USER_TOKEN_KEY') ?: ''
207- // password = System.env.OSS_USER_TOKEN_PASS ?: project.findProperty('OSS_USER_TOKEN_PASS') ?: ''
208- // }
209-
210205wrapper {
211206 distributionType = Wrapper.DistributionType . ALL
212207}
You can’t perform that action at this time.
0 commit comments