Skip to content

Commit e25d6a4

Browse files
committed
sonatype requires new urls for publishing
1 parent b78cd49 commit e25d6a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildSrc/src/main/kotlin/openapiprocessor.publish.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ publishing {
4848

4949
repositories {
5050
maven {
51-
val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
52-
val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
51+
val releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2"
52+
val snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots"
5353
url = uri(if (isReleaseVersion()) releasesRepoUrl else snapshotsRepoUrl)
5454

5555
credentials {

0 commit comments

Comments
 (0)