File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -243,16 +243,16 @@ signing {
243243
244244publishing {
245245 repositories {
246- val sonatypeUsername: String? by project
247- val sonatypePassword: String? by project
248246 maven {
249247 name = " sonatype"
250- val repoUrl = if (isSnapshot)
251- " https://s01.oss.sonatype.org/content/repositories/snapshots/"
248+ url = if (isSnapshot)
249+ uri( " https://s01.oss.sonatype.org/content/repositories/snapshots/" )
252250 else
253- " https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
251+ uri(" https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" )
252+
253+ val sonatypeUsername: String? by project
254+ val sonatypePassword: String? by project
254255
255- url = uri(repoUrl)
256256 credentials {
257257 username = sonatypeUsername // ORG_GRADLE_PROJECT_sonatypeUsername
258258 password = sonatypePassword // ORG_GRADLE_PROJECT_sonatypePassword
You can’t perform that action at this time.
0 commit comments