diff --git a/build.gradle b/build.gradle index 77111c675..e3ead1f10 100644 --- a/build.gradle +++ b/build.gradle @@ -187,6 +187,7 @@ subprojects { publishing { repositories { maven { + name = "OSSRH" def releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/" def snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots/" url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl