File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ plugins {
66// Project metadata is configured in gradle.properties
77
88nexusPublishing {
9+ val sonatypeUsername: String = (findProperty(" sonatypeUsername" ) as ? String ) ? : " "
10+ val sonatypePassword: String = (findProperty(" sonatypePassword" ) as ? String ) ? : " "
11+
912 repositories {
10- sonatype {
13+ named( " sonatype" ) {
1114 nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
1215 snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
13- username.set(findProperty( " sonatypeUsername" ) as String )
14- password.set(findProperty( " sonatypePassword" ) as String )
16+ username.set(sonatypeUsername)
17+ password.set(sonatypePassword)
1518 }
1619 }
1720}
You can’t perform that action at this time.
0 commit comments