Skip to content

Commit

Permalink
buildSrc: set jvm target to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Nov 24, 2024
1 parent af9ec30 commit e033150
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ dependencies {
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.1.0")
implementation("net.ltgt.gradle:gradle-nullaway-plugin:2.1.0")
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 // This option specifies the target version of the generated JVM bytecode
}
}

0 comments on commit e033150

Please sign in to comment.