Skip to content

Commit cc71858

Browse files
committed
update sonatype to use staging api
1 parent a1b5a77 commit cc71858

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gradle/promote.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ nexusPublishing {
3030
in system environments
3131
be sure to set the variable names exactly as above.
3232
*/
33-
sonatype()
33+
sonatype {
34+
// New Portal OSSRH Staging API endpoints
35+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
36+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
37+
}
3438
}
3539
}

0 commit comments

Comments
 (0)