@@ -24,7 +24,6 @@ configurations {
2424}
2525
2626val confluentVersion = " 8.1.0"
27- val springCloudVersion = " 4.3.0"
2827val logstashLogbackEncoderVersion = " 9.0"
2928val tokenSupportVersion = " 6.0.0"
3029val retryVersion = " 2.0.12"
@@ -44,6 +43,8 @@ val teamDokumenthåndteringAvroSchemaVersion = "1.1.6"
4443val testContainersVersion = " 1.21.3"
4544val springdocVersion = " 3.0.0"
4645
46+ extra[" springCloudVersion" ] = " 2025.1.0"
47+
4748repositories {
4849 mavenCentral()
4950
@@ -61,6 +62,13 @@ repositories {
6162 }
6263 }
6364}
65+
66+ dependencyManagement {
67+ imports {
68+ mavenBom(" org.springframework.cloud:spring-cloud-dependencies:${property(" springCloudVersion" )} " )
69+ }
70+ }
71+
6472dependencies {
6573
6674 implementation(" org.yaml:snakeyaml:2.5" ) {
@@ -88,13 +96,18 @@ dependencies {
8896 implementation(" org.springframework:spring-aspects" )
8997 runtimeOnly(" org.springframework.boot:spring-boot-properties-migrator" )
9098 annotationProcessor(" org.springframework.boot:spring-boot-configuration-processor" )
91- testImplementation(" org.springframework.boot:spring-boot-starter-test" ) {
99+ testImplementation(" org.springframework.boot:spring-boot-starter-test-classic " ) {
92100 exclude(module = " mockito-core" )
93101 }
102+ testImplementation(" org.springframework.boot:spring-boot-resttestclient" )
94103
95104 // Spring Cloud
96105 // https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-contract-stub-runner
97- testImplementation(" org.springframework.cloud:spring-cloud-starter-contract-stub-runner:$springCloudVersion " )
106+ testImplementation(" org.springframework.cloud:spring-cloud-starter-contract-stub-runner" ) // vurder å droppe
107+ testImplementation(" org.wiremock.integrations:wiremock-spring-boot:3.10.0" )
108+ testImplementation(" org.wiremock:wiremock-jetty12:3.13.2" )
109+ testImplementation(" org.eclipse.jetty.ee10:jetty-ee10-bom:12.1.0" )
110+
98111
99112 // Swagger (openapi 3)
100113 implementation(" org.springdoc:springdoc-openapi-starter-webmvc-ui:$springdocVersion " )
@@ -113,6 +126,7 @@ dependencies {
113126 testImplementation(" org.testcontainers:postgresql:$testContainersVersion " )
114127
115128 // Jackson
129+ implementation(" org.springframework.boot:spring-boot-jackson2" )
116130 implementation(" com.fasterxml.jackson.module:jackson-module-kotlin" )
117131
118132 // graphql
0 commit comments