diff --git a/publish.gradle b/publish.gradle index 46ac7a72..b48fde27 100644 --- a/publish.gradle +++ b/publish.gradle @@ -51,8 +51,8 @@ signing { nexusPublishing { repositories { sonatype { - nexusUrl.set(uri('https://s01.oss.sonatype.org/service/local/')) - snapshotRepositoryUrl.set(uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')) + nexusUrl.set(uri('https://ossrh-staging-api.central.sonatype.com/service/local/')) + snapshotRepositoryUrl.set(uri('https://central.sonatype.com/repository/maven-snapshots/')) username.set(System.getenv('MAVEN_USERNAME')) password.set(System.getenv('MAVEN_PASSWORD')) }