diff --git a/build.gradle b/build.gradle index 678845ed..e6461238 100644 --- a/build.gradle +++ b/build.gradle @@ -14,10 +14,9 @@ if (isReleaseVersion) { String nexusUser = findProperty('sonatypeUsername') String nexusPass = findProperty('sonatypePassword') String nexusStagingProfileId = findProperty('sonatypeStagingProfileId') - String nexusUrl = "https://s01.oss.sonatype.org/service/local/" repositories { sonatype { - nexusUrl = uri(nexusUrl) + nexusUrl = uri('https://s01.oss.sonatype.org/service/local/') username = nexusUser password = nexusPass stagingProfileId = nexusStagingProfileId