1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
3
- val mockkVersion = " 1.14.2 "
4
+ val mockkVersion = " 1.14.4 "
4
5
val logstashVersion = " 8.1"
5
- val testContainersVersion = " 1.21.1"
6
- val springDocVersion = " 2.8.8"
7
- val tokenValidationVersion = " 5.0.29"
8
- val kotlinVersion = " 2.1.21"
6
+ val testContainersVersion = " 1.21.2"
7
+ val springDocVersion = " 2.8.9"
8
+ val tokenValidationVersion = " 5.0.30"
9
9
10
10
repositories {
11
11
mavenCentral()
12
12
}
13
13
14
14
plugins {
15
- val kotlinVersion = " 2.0 .0"
16
- id(" org.springframework.boot" ) version " 3.5.0 "
15
+ val kotlinVersion = " 2.2 .0"
16
+ id(" org.springframework.boot" ) version " 3.5.3 "
17
17
kotlin(" jvm" ) version kotlinVersion
18
18
kotlin(" plugin.spring" ) version kotlinVersion
19
19
kotlin(" plugin.jpa" ) version kotlinVersion
@@ -23,7 +23,7 @@ plugins {
23
23
apply (plugin = " io.spring.dependency-management" )
24
24
25
25
dependencies {
26
- implementation(" org.jetbrains.kotlin:kotlin-stdlib:2.1.21 " )
26
+ implementation(" org.jetbrains.kotlin:kotlin-stdlib:2.2.0 " )
27
27
28
28
implementation(" org.springframework.boot:spring-boot-starter-web" )
29
29
implementation(" org.springframework.boot:spring-boot-starter-actuator" )
@@ -57,9 +57,9 @@ dependencies {
57
57
java.sourceCompatibility = JavaVersion .VERSION_21
58
58
59
59
tasks.withType<KotlinCompile > {
60
- kotlinOptions {
60
+ compilerOptions {
61
+ jvmTarget.set(JvmTarget .JVM_21 )
61
62
freeCompilerArgs = listOf (" -Xjsr305=strict" )
62
- jvmTarget = " 21"
63
63
}
64
64
}
65
65
0 commit comments