diff --git a/build.gradle b/build.gradle index 2f11c38..9f8c84c 100644 --- a/build.gradle +++ b/build.gradle @@ -42,11 +42,11 @@ def protoDepsPath = "proto_deps" if (hasProperty("release")) { isReleaseBuild = true - sonatypeRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" + sonatypeRepositoryUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" } else if (hasProperty("snapshot")) { isSnapshotBuild = true version += "-SNAPSHOT" - sonatypeRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/" + sonatypeRepositoryUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/" } else { isDevBuild = true version += "-SNAPSHOT"