File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
build-logic/plugins/src/main/kotlin Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ class PublishingConventionPlugin : Plugin<Project> {
117117
118118 repositories {
119119 maven {
120+ name = " ossrh-staging-api"
120121 url = if (isReleaseBuild) releaseRepositoryUrl else snapshotRepositoryUrl
121122 credentials {
122123 username = sonatypeUsername
@@ -148,15 +149,15 @@ class PublishingConventionPlugin : Plugin<Project> {
148149 get() = URI .create(
149150 getPropertyOrDefault(
150151 " RELEASE_REPOSITORY_URL" ,
151- " https://aws.oss .sonatype.org /service/local/staging/deploy/maven2/"
152+ " https://ossrh-staging-api.central .sonatype.com /service/local/staging/deploy/maven2/"
152153 )
153154 )
154155
155156 private val Project .snapshotRepositoryUrl: URI
156157 get() = URI .create(
157158 getPropertyOrDefault(
158159 " SNAPSHOT_REPOSITORY_URL" ,
159- " https://aws.oss .sonatype.org /content/repositories/snapshots/"
160+ " https://ossrh-staging-api.central .sonatype.com /content/repositories/snapshots/"
160161 )
161162 )
162163
You can’t perform that action at this time.
0 commit comments