Skip to content

Commit b4303e6

Browse files
committed
Publish via the sonatype central portal
1 parent faefe90 commit b4303e6

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
@@ -162,8 +162,8 @@ publishing {
162162
repositories {
163163
maven {
164164
name = "maven"
165-
val releasesRepoUrl = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2")
166-
val snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots")
165+
val releasesRepoUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
166+
val snapshotsRepoUrl = uri("https://central.sonatype.com/repository/maven-snapshots/")
167167
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
168168
credentials(PasswordCredentials::class)
169169
}

0 commit comments

Comments
 (0)