File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ nexusPublishing {
3434 sonatype {
3535 username.set(publishUser)
3636 password.set(publishKey)
37+
38+ nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
39+ snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
3740 }
3841 }
3942}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ publishing {
4949 repositories {
5050 maven {
5151 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"
52+ val snapshotsRepoUrl = " https://central.sonatype.com/repository/maven- snapshots"
5353 url = uri(if (isReleaseVersion()) releasesRepoUrl else snapshotsRepoUrl)
5454
5555 credentials {
You can’t perform that action at this time.
0 commit comments