We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7baaa89 commit 577c399Copy full SHA for 577c399
1 file changed
build.gradle.kts
@@ -7,9 +7,10 @@ plugins {
7
8
nexusPublishing {
9
repositories {
10
+ // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
11
sonatype {
- nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
12
- snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
+ nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
13
+ snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
14
val ossrhUsername = providers.environmentVariable("OSSRH_USERNAME")
15
val ossrhPassword = providers.environmentVariable("OSSRH_PASSWORD")
16
if (ossrhUsername.isPresent && ossrhPassword.isPresent) {
0 commit comments