Skip to content

Commit 1e5d055

Browse files
committed
Actually use correct publishing URL
1 parent fe1ba29 commit 1e5d055

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CubicChunksAPI/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ publishing {
215215
logger.warn("Username or password not set, publishing to local repository in build/mvnrepo/")
216216
}
217217
val localUrl = "$buildDir/mvnrepo"
218-
val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/deployments"
219-
val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/deployments"
218+
val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload"
219+
val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload"
220220

221221
setUrl(if (local) localUrl else if (doRelease.toBoolean()) releasesRepoUrl else snapshotsRepoUrl)
222222
if (!local) {

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ publishing {
388388
logger.warn("Username or password not set, publishing to local repository in build/mvnrepo/")
389389
}
390390
val localUrl = "$buildDir/mvnrepo"
391-
val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/deployments"
392-
val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/deployments"
391+
val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload"
392+
val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload"
393393

394394
setUrl(if (local) localUrl else if (doRelease.toBoolean()) releasesRepoUrl else snapshotsRepoUrl)
395395
if (!local) {

0 commit comments

Comments
 (0)