Skip to content

Commit 604acce

Browse files
committed
Merge branch 'mb/migrate_to_ossrh_staging_api'
* mb/migrate_to_ossrh_staging_api: Migrate to OSSRH Staging API (navigation-fragments)
2 parents 7b0e91e + 668e2c6 commit 604acce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

navigation-fragments/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,10 @@ publishing {
179179
repositories {
180180
if (isSonatypeRelease) {
181181
maven {
182-
url = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
182+
// Temporarily switching to Sonatype OSSRH Staging API
183+
// until the maven-publish plugin adds support for the new Central Portal
184+
// see: https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/
185+
url = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
183186

184187
credentials {
185188
username = System.getenv("SONATYPE_USER")

0 commit comments

Comments
 (0)