1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
3- val mockkVersion = " 1.14.2 "
4+ val mockkVersion = " 1.14.4 "
45val 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"
99
1010repositories {
1111 mavenCentral()
1212}
1313
1414plugins {
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 "
1717 kotlin(" jvm" ) version kotlinVersion
1818 kotlin(" plugin.spring" ) version kotlinVersion
1919 kotlin(" plugin.jpa" ) version kotlinVersion
@@ -23,7 +23,7 @@ plugins {
2323apply (plugin = " io.spring.dependency-management" )
2424
2525dependencies {
26- implementation(" org.jetbrains.kotlin:kotlin-stdlib:2.1.21 " )
26+ implementation(" org.jetbrains.kotlin:kotlin-stdlib:2.2.0 " )
2727
2828 implementation(" org.springframework.boot:spring-boot-starter-web" )
2929 implementation(" org.springframework.boot:spring-boot-starter-actuator" )
@@ -57,9 +57,9 @@ dependencies {
5757java.sourceCompatibility = JavaVersion .VERSION_21
5858
5959tasks.withType<KotlinCompile > {
60- kotlinOptions {
60+ compilerOptions {
61+ jvmTarget.set(JvmTarget .JVM_21 )
6162 freeCompilerArgs = listOf (" -Xjsr305=strict" )
62- jvmTarget = " 21"
6363 }
6464}
6565
0 commit comments