diff options
Diffstat (limited to 'build.gradle.kts')
| -rw-r--r-- | build.gradle.kts | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 5053602..738ed54 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,22 +7,24 @@ plugins { war id("org.springframework.boot") version "3.5.6" id("io.spring.dependency-management") version "1.1.7" - kotlin("jvm") version "1.9.25" - kotlin("plugin.spring") version "1.9.25" + id("com.diffplug.spotless") version "8.0.0" + kotlin("jvm") version "2.2.10" + kotlin("plugin.spring") version "2.2.10" jacoco } group = "dev.dnpm" -version = "0.11.3" +version = "0.12.0-SNAPSHOT" var versions = mapOf( "mtb-dto" to "0.1.0-SNAPSHOT", - "hapi-fhir" to "7.6.1", - "mockito-kotlin" to "5.4.0", - "archunit" to "1.3.0", + "hapi-fhir" to "8.4.0", + "apache-cxf" to "4.1.3", + "mockito-kotlin" to "6.0.0", + "archunit" to "1.4.1", // Webjars "webjars-locator" to "0.52", - "echarts" to "5.4.3", + "echarts" to "6.0.0", "htmx.org" to "1.9.12" ) @@ -90,6 +92,9 @@ dependencies { implementation("org.webjars.npm:htmx.org:${versions["htmx.org"]}") // Fix for CVE-2025-48924 implementation("org.apache.commons:commons-lang3:3.18.0") + // 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"]}") runtimeOnly("org.mariadb.jdbc:mariadb-java-client") runtimeOnly("org.postgresql:postgresql") @@ -127,6 +132,7 @@ tasks.withType<Test> { testLogging { events(TestLogEvent.FAILED, TestLogEvent.PASSED, TestLogEvent.SKIPPED) } + dependsOn(tasks.spotlessCheck) } tasks.register<Test>("integrationTest") { @@ -171,3 +177,11 @@ tasks.named<BootBuildImage>("bootBuildImage") { "BP_OCI_DESCRIPTION" to "ETL Processor for MV ยง 64e and DNPM:DIP" )) } + +spotless { + java { + importOrder() + removeUnusedImports() + googleJavaFormat() + } +}
\ No newline at end of file |
