Skip to content

Commit 76c2b4d

Browse files
committed
update nexus staging api
1 parent ac67ec8 commit 76c2b4d

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
@@ -29,6 +29,10 @@ nexusPublishing {
2929
in system environments
3030
be sure to set the variable names exactly as above.
3131
*/
32-
sonatype()
32+
sonatype {
33+
// New Portal OSSRH Staging API endpoints
34+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
35+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
36+
}
3337
}
3438
}

0 commit comments

Comments
 (0)