File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
22import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
33import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_ERROR
44import org.gradle.api.tasks.testing.logging.TestLogEvent.STANDARD_OUT
5- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
5+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
66
77plugins {
88 alias(libs.plugins.kotlin.jvm)
@@ -44,9 +44,9 @@ tasks.withType<Test> {
4444 systemProperties[" junit.jupiter.execution.parallel.enabled" ] = true
4545}
4646
47- tasks.withType< KotlinCompile > {
48- kotlinOptions {
49- freeCompilerArgs = listOf (" -Xjsr305=strict" )
50- jvmTarget = " 21 "
47+ kotlin {
48+ compilerOptions {
49+ freeCompilerArgs.set( listOf (" -Xjsr305=strict" ) )
50+ jvmTarget.set( JvmTarget . JVM_21 )
5151 }
5252}
You can’t perform that action at this time.
0 commit comments