Skip to content

Commit 042aca8

Browse files
committed
Migrate to OSSRH Staging API
1 parent 4383073 commit 042aca8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ publishing {
187187
repositories {
188188
if (isSonatypeRelease) {
189189
maven {
190-
url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
190+
// Temporarily switching to Sonatype OSSRH Staging API
191+
// until the maven-publish plugin adds support for the new Central Portal
192+
// see: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/
193+
url = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
191194

192195
credentials {
193196
username = System.getenv("SONATYPE_USER")

0 commit comments

Comments
 (0)