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 {
13
13
repositories {
14
14
maven {
15
15
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/"
18
18
url = version. endsWith(' -SNAPSHOT' ) ? snapshotUrl : releaseUrl
19
19
credentials {
20
20
username = rootProject. ext[" ossrhUsername" ]
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ nexusPublishing {
29
29
stagingProfileId = sonatypeStagingProfileId
30
30
username = ossrhUsername
31
31
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/" ))
34
34
}
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments