summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle.kts40
1 files changed, 19 insertions, 21 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 2255696..7fe13d8 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -20,16 +20,16 @@ plugins {
group = "dev.dnpm"
version = "0.15.4" // x-release-please-version
-var versions = mapOf(
- "mtb-dto" to "0.2.0",
- "spring-retry" to "2.0.12",
- "hapi-fhir" to "8.4.2",
- "apache-cxf" to "4.1.4",
- "mockito-kotlin" to "6.2.1",
- "testcontainers" to "1.21.4"
-)
-
+// Additional versions
+val mtbDtoVersion by extra("0.2.0")
+val hapiFhirVersion by extra("8.4.2")
+val apacheCxfVersion by extra("4.1.5")
val springModulithVersion by extra("2.0.3")
+val springRetryVersion by extra("2.0.12")
+
+// Additional test versions
+val mockitoKotlinVersion by extra("6.2.3")
+val testcontainersVersion by extra("1.21.4")
java {
toolchain {
@@ -76,22 +76,20 @@ dependencies {
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.springframework.kafka:spring-kafka")
- implementation("org.springframework.retry:spring-retry:${versions["spring-retry"]}")
+ implementation("org.springframework.retry:spring-retry:${springRetryVersion}")
implementation("org.flywaydb:flyway-database-postgresql")
implementation("org.flywaydb:flyway-mysql")
implementation("commons-codec:commons-codec")
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
- implementation("dev.pcvolkmer.mv64e:mtb-dto:${versions["mtb-dto"]}")
- implementation("ca.uhn.hapi.fhir:hapi-fhir-base:${versions["hapi-fhir"]}")
- implementation("ca.uhn.hapi.fhir:hapi-fhir-structures-r4:${versions["hapi-fhir"]}")
+ implementation("dev.pcvolkmer.mv64e:mtb-dto:${mtbDtoVersion}")
+ implementation("ca.uhn.hapi.fhir:hapi-fhir-base:${hapiFhirVersion}")
+ implementation("ca.uhn.hapi.fhir:hapi-fhir-structures-r4:${hapiFhirVersion}")
implementation("org.apache.httpcomponents.client5:httpclient5")
implementation("com.jayway.jsonpath:json-path")
- implementation("org.jspecify:jspecify:1.0.0")
- // Fix for CVE-2025-48924
- implementation("org.apache.commons:commons-lang3:3.18.0")
+ implementation("org.jspecify:jspecify")
// gPAS via Soap
- implementation("org.apache.cxf:cxf-rt-frontend-jaxws:${versions["apache-cxf"]}")
- implementation("org.apache.cxf:cxf-rt-transports-http:${versions["apache-cxf"]}")
+ implementation("org.apache.cxf:cxf-rt-frontend-jaxws:${apacheCxfVersion}")
+ implementation("org.apache.cxf:cxf-rt-transports-http:${apacheCxfVersion}")
implementation("org.springframework.modulith:spring-modulith-starter-core")
implementation("org.springframework.modulith:spring-modulith-starter-jdbc")
@@ -112,10 +110,10 @@ dependencies {
testImplementation("org.springframework.security:spring-security-test")
testImplementation("org.springframework.modulith:spring-modulith-starter-test")
testImplementation("io.projectreactor:reactor-test")
- testImplementation("org.mockito.kotlin:mockito-kotlin:${versions["mockito-kotlin"]}")
+ testImplementation("org.mockito.kotlin:mockito-kotlin:${mockitoKotlinVersion}")
- integrationTestImplementation("org.testcontainers:junit-jupiter:${versions["testcontainers"]}")
- integrationTestImplementation("org.testcontainers:postgresql:${versions["testcontainers"]}")
+ integrationTestImplementation("org.testcontainers:junit-jupiter:${testcontainersVersion}")
+ integrationTestImplementation("org.testcontainers:postgresql:${testcontainersVersion}")
integrationTestImplementation("org.htmlunit:htmlunit")
integrationTestImplementation("org.springframework:spring-webflux")