File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,8 @@ publishing {
51
51
repositories {
52
52
maven {
53
53
credentials(PasswordCredentials ::class )
54
- name = " sonatype" // correlates with the environment variable set in the github action release.yml publish job
55
-
56
- val releasesRepoUrl = " https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
57
- val snapshotsRepoUrl = " https://s01.oss.sonatype.org/content/repositories/snapshots/"
58
- setUrl(if (version.toString().endsWith(" SNAPSHOT" )) snapshotsRepoUrl else releasesRepoUrl)
54
+ name = " ossrh-staging-api"
55
+ setUrl(" https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" )
59
56
}
60
57
}
61
58
@@ -116,8 +113,8 @@ signing {
116
113
nexusPublishing {
117
114
repositories {
118
115
sonatype {
119
- nexusUrl.set(uri(" https://s01.oss .sonatype.org /service/local/" ))
120
- snapshotRepositoryUrl.set(uri(" https://s01.oss. sonatype.org/content/repositories/ snapshots/" ))
116
+ nexusUrl.set(uri(" https://ossrh-staging-api.central .sonatype.com /service/local/" ))
117
+ snapshotRepositoryUrl.set(uri(" https://central. sonatype.com/repository/maven- snapshots/" ))
121
118
}
122
119
}
123
120
}
You can’t perform that action at this time.
0 commit comments