From 1c52c3bd7838320e27ff1a8fb082fb6c43b62f36 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 6 Dec 2024 16:53:10 +0100 Subject: [PATCH] build: fix sonatype nexusUrl problem --- build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 678845ed6..e6461238c 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