File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ publishing {
1313 repositories {
1414 maven {
1515 name = " sonatype"
16- def releaseUrl = " https://s01.oss .sonatype.org /service/local/staging/deploy/maven2/"
17- def snapshotUrl = " https://s01.oss. sonatype.org/content/repositories/ snapshots/"
16+ def releaseUrl = " https://ossrh-staging-api.central .sonatype.com /service/local/staging/deploy/maven2/"
17+ def snapshotUrl = " https://central. sonatype.com/repository/maven- snapshots/"
1818 url = version. endsWith(' -SNAPSHOT' ) ? snapshotUrl : releaseUrl
1919 credentials {
2020 username = rootProject. ext[" ossrhUsername" ]
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ nexusPublishing {
2929 stagingProfileId = sonatypeStagingProfileId
3030 username = ossrhUsername
3131 password = ossrhPassword
32- nexusUrl. set(uri(" https://s01.oss .sonatype.org /service/local/" ))
33- snapshotRepositoryUrl. set(uri(" https://s01.oss. sonatype.org/content/repositories/ snapshots/" ))
32+ nexusUrl. set(uri(" https://ossrh-staging-api.central .sonatype.com /service/local/" ))
33+ snapshotRepositoryUrl. set(uri(" https://central. sonatype.com/repository/maven- snapshots/" ))
3434 }
3535 }
3636}
You can’t perform that action at this time.
0 commit comments