File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
12import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
23
34val mockkVersion = " 1.14.4"
45val logstashVersion = " 8.1"
56val testContainersVersion = " 1.21.2"
67val springDocVersion = " 2.8.9"
78val tokenValidationVersion = " 5.0.30"
8- val kotlinVersion = " 2.2.0"
99
1010repositories {
1111 mavenCentral()
1212}
1313
1414plugins {
15- val kotlinVersion = " 2.0 .0"
15+ val kotlinVersion = " 2.2 .0"
1616 id(" org.springframework.boot" ) version " 3.5.3"
1717 kotlin(" jvm" ) version kotlinVersion
1818 kotlin(" plugin.spring" ) version kotlinVersion
@@ -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
You can’t perform that action at this time.
0 commit comments