mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-19 15:48:19 -05:00
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:
@@ -102,6 +102,10 @@ android {
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '17'
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
cruncherEnabled = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user