From dcabf254b835998385aeb3406a57e499fc61df04 Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Sun, 19 Dec 2021 05:52:19 +0530 Subject: [PATCH] Configure nexusUrl for NexusPublishing to new Sonatype infrastructure --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 71434705..962f76ee 100644 --- a/build.gradle +++ b/build.gradle @@ -162,6 +162,7 @@ if (isReleaseVersion) { def ossUser = System.getenv("SONATYPE_USERNAME") ?: project.hasProperty("sonatypeOssUsername") ? project.sonatypeOssUsername : '' def ossPass = System.getenv("SONATYPE_PASSWORD") ?: project.hasProperty("sonatypeOssPassword") ? project.sonatypeOssPassword : '' def ossStagingProfileId = System.getenv("SONATYPE_STAGING_PROFILE_ID") ?: project.hasProperty("sonatypeOssStagingProfileId") ? project.sonatypeOssStagingProfileId : '' + nexusUrl = uri("https://s01.oss.sonatype.org/service/local/") username = ossUser password = ossPass stagingProfileId = ossStagingProfileId