swap to jdk 21

This commit is contained in:
Alex Zenla
2025-03-16 23:57:48 -07:00
parent 61fbb6f35f
commit b1c6aac335
6 changed files with 17 additions and 25 deletions

View File

@ -20,13 +20,14 @@ dependencies {
}
java {
sourceCompatibility = JavaVersion.toVersion(22)
targetCompatibility = JavaVersion.toVersion(22)
val javaVersion = JavaVersion.toVersion(21)
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType<KotlinCompile> {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_22)
jvmTarget.set(JvmTarget.JVM_21)
}
}