Skip to content

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ nexusPublishing {
199199
stagingProfileId.set(System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: findProperty("sonatype.staging.profile.id")) //can reduce execution time by even 10 seconds
200200
username.set(System.getenv("SONATYPE_USERNAME") ?: findProperty("sonatype.username"))
201201
password.set(System.getenv("SONATYPE_PASSWORD") ?: findProperty("sonatype.password"))
202+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
203+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
202204
}
203205
}
204206
}

0 commit comments

Comments
 (0)