diff --git a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt index 2740add13..7a8055372 100644 --- a/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt @@ -111,9 +111,9 @@ class PublishingConventionPlugin : Plugin { repositories { maven { val releasesRepoUrl = - uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/") + uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/") val snapshotsRepoUrl = - uri("https://oss.sonatype.org/content/repositories/snapshots/") + uri("https://central.sonatype.com/repository/maven-snapshots/") url = if (project.version.toString() .endsWith("SNAPSHOT") ) snapshotsRepoUrl else releasesRepoUrl