Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tsu-kotake opened this issue Apr 14, 2024 · 1 comment

Comments

@tsu-kotake
Copy link

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)
}

}

@muhammadalkady
Copy link

This issue is a blocker now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants