Skip to content

Commit

Permalink
build: Set target bytecode level to JVM 11
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Mar 4, 2024
1 parent cb400ca commit 988aff6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import org.gradle.kotlin.dsl.support.listFilesOrdered
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
alias(libs.plugins.kotlin)
Expand Down Expand Up @@ -29,7 +30,13 @@ dependencies {
}

kotlin {
jvmToolchain(11)
compilerOptions {
jvmTarget.set(JvmTarget.JVM_11)
}
}

java {
targetCompatibility = JavaVersion.VERSION_11
}

tasks {
Expand Down

0 comments on commit 988aff6

Please sign in to comment.