Skip to content

Commit c25827b

Browse files
committed
Update Nexus repository URLs for publishing
1 parent f1d2e62 commit c25827b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convention-plugins/src/main/kotlin/convention.publication.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ fun getExtraString(name: String) = ext[name]?.toString()
3434
nexusPublishing {
3535
repositories {
3636
sonatype {
37-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
38-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
37+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
38+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
3939
username.set(getExtraString("ossrhUsername"))
4040
password.set(getExtraString("ossrhPassword"))
4141
}

0 commit comments

Comments
 (0)