Skip to content

Commit

Permalink
Merge pull request #562 from jdaugherty/6.0.x
Browse files Browse the repository at this point in the history
Remove nexusPublishing customizations
  • Loading branch information
jdaugherty authored Dec 3, 2024
2 parents 7b3c5ac + 7082b0d commit 6dadf69
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,6 @@ def publishedProjects = pluginProjects + profileProjects
version projectVersion
group "org.grails.plugins"

ext.set('isSnapshot', projectVersion.endsWith('-SNAPSHOT'))
ext.set('isReleaseVersion', !isSnapshot)

if (isReleaseVersion) {
nexusPublishing {
String nexusUser = findProperty('sonatypeUsername')
String nexusPass = findProperty('sonatypePassword')
String nexusStagingProfileId = findProperty('sonatypeStagingProfileId')
repositories {
sonatype {
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
username = nexusUser
password = nexusPass
stagingProfileId = nexusStagingProfileId
}
}
}
}

subprojects { Project project ->
group "org.grails.plugins"
version projectVersion
Expand Down

0 comments on commit 6dadf69

Please sign in to comment.