Skip to content

Commit bbabd3c

Browse files
authored
Update Sonatype URLs
1 parent ad24ef1 commit bbabd3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ publishing {
138138
maven {
139139
// MavenCentral
140140
name = "OSSRH"
141-
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
142-
val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
141+
val releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
142+
val snapshotsRepoUrl = "https://central.sonatype.com/repository/maven-snapshots/"
143143
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
144144
credentials {
145145
username = System.getenv("MAVEN_USERNAME")

0 commit comments

Comments
 (0)