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 {
5151 repositories {
5252 maven {
5353 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/" )
5956 }
6057 }
6158
@@ -116,8 +113,8 @@ signing {
116113nexusPublishing {
117114 repositories {
118115 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/" ))
121118 }
122119 }
123120}
You can’t perform that action at this time.
0 commit comments