Skip to content

Commit

Permalink
Merge pull request #67 from grails/puneetbehl-patch-1
Browse files Browse the repository at this point in the history
Configure nexusUrl for NexusPublishing to new Sonatype infrastructure
  • Loading branch information
puneetbehl authored Dec 19, 2021
2 parents e975e0b + dcabf25 commit f474b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f474b7e

Please sign in to comment.