fix older version issue

This commit is contained in:
alexcrea 2025-12-26 00:51:14 +01:00
parent 01d7d91d4f
commit 1544cd315b
Signed by: alexcrea
GPG key ID: E346CD16413450E3

View file

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