diff --git a/scripts/publish-root.gradle b/scripts/publish-root.gradle index 0e88a11c6..e26354c76 100644 --- a/scripts/publish-root.gradle +++ b/scripts/publish-root.gradle @@ -36,6 +36,8 @@ if (snapshot) { nexusPublishing { repositories { sonatype { + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) stagingProfileId = sonatypeStagingProfileId username = ossrhUsername password = ossrhPassword