progress on 1.21 transition

This commit is contained in:
alexcrea 2026-06-03 04:25:10 +02:00
parent 922a7a0ed1
commit ef5585fd42
Signed by: alexcrea
GPG key ID: E346CD16413450E3
23 changed files with 62 additions and 1239 deletions

View file

@ -21,8 +21,8 @@ repositories {
// Set target version
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = "16"
targetCompatibility = "16"
sourceCompatibility = "21"
targetCompatibility = "21"
options.encoding = "UTF-8"
}
@ -30,6 +30,6 @@ tasks.withType<JavaCompile>().configureEach {
kotlin {
compilerOptions {
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_2)
jvmTarget.set(JvmTarget.JVM_16)
jvmTarget.set(JvmTarget.JVM_21)
}
}