Match Java and Kotlin JVM Targets

This commit is contained in:
ProgramistaZpolski 2024-07-20 09:16:54 +02:00
parent 44df1dd2a8
commit 83baf87e64

View file

@ -25,7 +25,7 @@ application {
val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks val compileKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
val compileTestKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks val compileTestKotlin: org.jetbrains.kotlin.gradle.tasks.KotlinCompile by tasks
kotlin.compilerOptions.jvmTarget.set(JvmTarget.JVM_11) kotlin.compilerOptions.jvmTarget.set(JvmTarget.JVM_21)
repositories { repositories {
mavenCentral() mavenCentral()