1
0
mirror of synced 2026-08-05 09:47:05 +00:00
Files
spring-security/gradle/finalize-deploy.gradle
T

14 lines
481 B
Groovy
Raw Permalink Normal View History

2020-02-05 20:19:02 -06:00
def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/)
def isRelease = !isSnapshot
task finalizeDeployArtifacts {
}
if (isRelease && project.hasProperty("ossrhUsername")) {
project.ext.nexusUsername = project.ossrhUsername
project.ext.nexusPassword = project.ossrhPassword
project.getPluginManager().apply("io.codearte.nexus-staging")
finalizeDeployArtifacts.dependsOn project.tasks.closeAndReleaseRepository
project.nexusStaging.packageGroup = 'org.springframework'
}