diff --git a/gradle/artifactory.gradle b/gradle/artifactory.gradle index bb249dfe..48274138 100644 --- a/gradle/artifactory.gradle +++ b/gradle/artifactory.gradle @@ -1,6 +1,6 @@ apply plugin: "com.jfrog.artifactory" -def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/) +def isSnapshot = version?.matches(/^.*[.-]-SNAPSHOT$/) artifactory { contextUrl = 'https://repo.spring.io' diff --git a/gradle/deploy-artifacts.gradle b/gradle/deploy-artifacts.gradle index e07ae02b..1a36ebb1 100644 --- a/gradle/deploy-artifacts.gradle +++ b/gradle/deploy-artifacts.gradle @@ -1,4 +1,4 @@ -def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/) +def isSnapshot = version?.matches(/^.*[.-]-SNAPSHOT$/) task deployArtifacts { group = 'Deploy tasks' diff --git a/gradle/finalize-deploy.gradle b/gradle/finalize-deploy.gradle index cb4c2491..622d728d 100644 --- a/gradle/finalize-deploy.gradle +++ b/gradle/finalize-deploy.gradle @@ -1,4 +1,4 @@ -def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/) +def isSnapshot = version?.matches(/^.*[.-]-SNAPSHOT$/) def isRelease = !isSnapshot task finalizeDeployArtifacts { diff --git a/gradle/ossrh.gradle b/gradle/ossrh.gradle index cbff4d15..238a7a4a 100644 --- a/gradle/ossrh.gradle +++ b/gradle/ossrh.gradle @@ -1,4 +1,4 @@ -def isSnapshot = version?.matches(/^.*[.-]BUILD-SNAPSHOT$/) +def isSnapshot = version?.matches(/^.*[.-]-SNAPSHOT$/) def isRelease = !isSnapshot if(project.hasProperty("signing.keyId") && isRelease) {