Skip to content

Commit 0ce1d28

Browse files
committed
Adjusted maven central publishing URLs
1 parent 5efba1c commit 0ce1d28

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ subprojects {
3131

3232
nexusPublishing {
3333
repositories {
34-
sonatype()
34+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
35+
sonatype {
36+
nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/")
37+
snapshotRepositoryUrl = uri("https://central.sonatype.com/repository/maven-snapshots/")
38+
}
3539
}
3640
}
3741

0 commit comments

Comments
 (0)