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