File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
build-logic/convention/src/main/kotlin Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,10 @@ class PublishingConventionPlugin : Plugin<Project> {
8888 }
8989 repositories {
9090 maven {
91- val releasesRepoUrl = uri(" https://oss.sonatype.org/service/local/staging/deploy/maven2/" )
92- val snapshotsRepoUrl = uri(" https://oss.sonatype.org/content/repositories/snapshots/" )
91+ val releasesRepoUrl =
92+ uri(" https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" )
93+ val snapshotsRepoUrl =
94+ uri(" https://central.sonatype.com/repository/maven-snapshots/" )
9395 url = if (project.version.toString().endsWith(" SNAPSHOT" )) snapshotsRepoUrl else releasesRepoUrl
9496 credentials {
9597 username = project.findProperty(" sonatypeToken" ) as String?
You can’t perform that action at this time.
0 commit comments