Skip to content

Commit d4efcc3

Browse files
authored
chore: migrated new Maven Central URL (#1537)
1 parent 4948bda commit d4efcc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ class PublishingConventionPlugin : Plugin<Project> {
111111
repositories {
112112
maven {
113113
val releasesRepoUrl =
114-
uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
114+
uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
115115
val snapshotsRepoUrl =
116-
uri("https://oss.sonatype.org/content/repositories/snapshots/")
116+
uri("https://central.sonatype.com/repository/maven-snapshots/")
117117
url = if (project.version.toString()
118118
.endsWith("SNAPSHOT")
119119
) snapshotsRepoUrl else releasesRepoUrl

0 commit comments

Comments
 (0)