Switch to VERSION_1_8 to make it compile with sdk 21

This commit is contained in:
Blatzar 2022-08-10 23:54:29 +02:00
parent f523f63ac5
commit 62f5d8258f

View file

@ -50,13 +50,13 @@ subprojects {
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11" // Required
jvmTarget = "1.8" // Required
// Disables some unnecessary features
freeCompilerArgs = freeCompilerArgs +
"-Xno-call-assertions" +