flutter_document_picker icon indicating copy to clipboard operation
flutter_document_picker copied to clipboard

Execution failed for task ':flutter_document_picker:compileReleaseKotlin'. Inconsistent JVM-target compatibility detected for tasks 'compileReleaseJavaWithJavac' (1.8) and 'compileReleaseKotlin' (17).

Open tsu-kotake opened this issue 1 year ago • 1 comments

Build fails in Flutter sdk 3.19.5. This can be avoided by writing the following to build.gradle, but since it requires downloading the package source and including it in the project, I would like to request official support for the package.

android {

compileOptions {
    sourceCompatibility JavaVersion.VERSION_17
    targetCompatibility JavaVersion.VERSION_17
}

kotlin {
    jvmToolchain(17)
}

}

tsu-kotake avatar Apr 14 '24 18:04 tsu-kotake

This issue is a blocker now.

muhammadalkady avatar Jul 10 '24 08:07 muhammadalkady