Skip to content

Commit 4086680

Browse files
author
Marius Kleidl
committed
Update Sonatype publishing URLs
1 parent 72d80de commit 4086680

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ nexusPublishing {
3131
username = System.getenv('SONATYPE_USER')
3232
password = System.getenv('SONATYPE_KEY')
3333
stagingProfileId = System.getenv('SONATYPE_STAGING_PROFILE')
34+
35+
// See https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
36+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
37+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
3438
}
3539
}
3640
}

0 commit comments

Comments
 (0)