@@ -2,20 +2,18 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
2
3
3
val mockkVersion = " 1.13.3"
4
4
val logstashVersion = " 7.2"
5
- val springVersion = " 2.5.5"
6
- val springSleuthVersion = " 3.1.5"
7
5
val testContainersVersion = " 1.17.6"
8
- val springDocVersion = " 1.6.14 "
9
- val tokenValidationVersion = " 2.1.8 "
10
- val problemSpringWebStartVersion = " 0.27 .0"
6
+ val springDocVersion = " 2.0.2 "
7
+ val tokenValidationVersion = " 3.0.2 "
8
+ val kotlinVersion = " 1.8 .0"
11
9
12
10
repositories {
13
11
mavenCentral()
14
12
}
15
13
16
14
plugins {
17
- val kotlinVersion = " 1.7.22 "
18
- id(" org.springframework.boot" ) version " 2.7.5 "
15
+ val kotlinVersion = " 1.8.0 "
16
+ id(" org.springframework.boot" ) version " 3.0.1 "
19
17
kotlin(" jvm" ) version kotlinVersion
20
18
kotlin(" plugin.spring" ) version kotlinVersion
21
19
kotlin(" plugin.jpa" ) version kotlinVersion
@@ -25,26 +23,25 @@ plugins {
25
23
apply (plugin = " io.spring.dependency-management" )
26
24
27
25
dependencies {
28
- implementation(" org.jetbrains.kotlin:kotlin-stdlib:1.7.22 " )
26
+ implementation(" org.jetbrains.kotlin:kotlin-stdlib:1.8.0 " )
29
27
30
28
implementation(" org.springframework.boot:spring-boot-starter-web" )
31
29
implementation(" org.springframework.boot:spring-boot-starter-actuator" )
32
30
implementation(" org.springframework.boot:spring-boot-starter-webflux" )
33
31
implementation(" org.springframework.boot:spring-boot-starter-data-jpa" )
34
32
implementation(" org.springframework.boot:spring-boot-starter-validation" )
35
- implementation(" org.springframework.cloud:spring-cloud-starter-sleuth:$springSleuthVersion " )
36
-
37
- implementation(" org.zalando:problem-spring-web-starter:$problemSpringWebStartVersion " )
38
33
39
34
implementation(" no.nav.security:token-validation-spring:$tokenValidationVersion " )
40
35
41
- implementation(" org.springdoc:springdoc-openapi-ui:$springDocVersion " )
36
+ implementation(" org.springdoc:springdoc-openapi-starter-webmvc- ui:$springDocVersion " )
42
37
43
38
implementation(" org.flywaydb:flyway-core" )
44
39
implementation(" com.zaxxer:HikariCP" )
45
40
implementation(" org.postgresql:postgresql" )
46
41
47
42
implementation(" io.micrometer:micrometer-registry-prometheus" )
43
+ implementation(" io.micrometer:micrometer-tracing-bridge-brave" )
44
+
48
45
implementation(" ch.qos.logback:logback-classic" )
49
46
implementation(" net.logstash.logback:logstash-logback-encoder:$logstashVersion " )
50
47
implementation(" com.fasterxml.jackson.module:jackson-module-kotlin:2.14.1" )
@@ -53,9 +50,8 @@ dependencies {
53
50
testImplementation(" org.testcontainers:junit-jupiter:$testContainersVersion " )
54
51
testImplementation(" org.testcontainers:postgresql:$testContainersVersion " )
55
52
testImplementation(" io.mockk:mockk:$mockkVersion " )
56
- testImplementation(" org.springframework:spring-mock:2.0.8" )
57
53
testImplementation(" org.springframework.boot:spring-boot-starter-test" )
58
- testImplementation(" org.mockito:mockito-inline:4.10 .0" )
54
+ testImplementation(" org.mockito:mockito-inline:4.11 .0" )
59
55
}
60
56
61
57
tasks.withType<KotlinCompile > {
0 commit comments