Trying to fix docker setup with gradle and thin jar

This commit is contained in:
Marcin Grzejszczak
2023-06-29 10:29:15 +02:00
parent 9a071f2b58
commit 98b3c5de2b
2 changed files with 3 additions and 3 deletions

View File

@@ -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" }
}
}

View File

@@ -60,7 +60,7 @@
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<InMemoryJavaCompiler.version>1.3.0</InMemoryJavaCompiler.version>
<thin-jar.version>1.0.27.RELEASE</thin-jar.version>
<thin-jar.version>1.0.30.RELEASE</thin-jar.version>
<contract.kotlin.version>1.5.20</contract.kotlin.version>
<commons-beanutils.version>1.9.4</commons-beanutils.version>