diff --git a/build.gradle b/build.gradle index a27c1b1c..99b40fc9 100644 --- a/build.gradle +++ b/build.gradle @@ -138,8 +138,8 @@ nexusPublishing { repositories { sonatype { //only for users registered in Sonatype after 24 Feb 2021 - 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 = System.getenv("MAVEN_USERNAME") password = System.getenv("MAVEN_PASSWORD")