Skip to content

Commit 38152cb

Browse files
Migrate publishing from Sonatype OSSRH to Sonatype Central (#933)
1 parent 4e52f7e commit 38152cb

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
@@ -178,6 +178,8 @@ nexusPublishing {
178178
sonatype {
179179
username.set(System.getenv("SONATYPE_USERNAME"))
180180
password.set(System.getenv("SONATYPE_PASSWORD"))
181+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
182+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
181183
}
182184
}
183185
}

0 commit comments

Comments
 (0)