File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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) {
Original file line number Diff line number Diff 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) {
You can’t perform that action at this time.
0 commit comments