build: Set target bytecode level to JVM 11

This commit is contained in:
oSumAtrIX 2024-03-04 18:09:57 +01:00
parent 816724457c
commit c4379c0e67
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -1,4 +1,5 @@
import org.gradle.kotlin.dsl.support.listFilesOrdered
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlin)
@ -33,7 +34,13 @@ dependencies {
}
kotlin {
jvmToolchain(11)
compilerOptions {
jvmTarget.set(JvmTarget.JVM_11)
}
}
java {
targetCompatibility = JavaVersion.VERSION_11
}
tasks {