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

12 lines
281 B
Groovy
Raw Permalink Normal View History

2020-02-05 20:19:02 -06:00
def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/)
task deployArtifacts {
group = 'Deploy tasks'
description = "Deploys the artifacts to either Artifactory or Maven Central"
if(isSnapshot) {
dependsOn "artifactoryPublish"
} else {
dependsOn "uploadArchives"
}
}