Add Kotlin jvmTarget

Without this, the build fails for me with (likely because my installation defaults to Java 21):

Execution failed for task ':app:compileFullDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileFullDebugJavaWithJavac' (17) and 'compileFullDebugKotlin' (21).
This commit is contained in:
Thore Goebel
2025-01-14 16:51:26 +01:00
parent 6654546cd3
commit 7e4509cf9e

View File

@@ -102,6 +102,10 @@ android {
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
aaptOptions {
cruncherEnabled = false
}