Trying to fix docker setup with gradle and thin jar
This commit is contained in:
@@ -52,10 +52,10 @@ version = getProp(envVars, "PROJECT_VERSION") ?: '0.0.1-SNAPSHOT'
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
if (!"${verifierVersion}".contains("RELEASE")) {
|
||||
if ("${verifierVersion}".contains("SNAPSHOT")) {
|
||||
maven { url "https://repo.spring.io/snapshot" }
|
||||
} else if ("${verifierVersion}".contains("M") || "${verifierVersion}".contains("RC")) {
|
||||
maven { url "https://repo.spring.io/milestone" }
|
||||
maven { url "https://repo.spring.io/release" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user