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
1
2
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
3
3
4
val mockkVersion = " 1.14.4"
4
5
val logstashVersion = " 8.1"
5
6
val testContainersVersion = " 1.21.2"
6
7
val springDocVersion = " 2.8.9"
7
8
val tokenValidationVersion = " 5.0.30"
8
- val kotlinVersion = " 2.2.0"
9
9
10
10
repositories {
11
11
mavenCentral()
12
12
}
13
13
14
14
plugins {
15
- val kotlinVersion = " 2.0 .0"
15
+ val kotlinVersion = " 2.2 .0"
16
16
id(" org.springframework.boot" ) version " 3.5.3"
17
17
kotlin(" jvm" ) version kotlinVersion
18
18
kotlin(" plugin.spring" ) version kotlinVersion
@@ -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
You can’t perform that action at this time.
0 commit comments