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

FIX: Incompatible java target with newest versions #170

Conversation

PcolBP
Copy link

@PcolBP PcolBP commented Jul 18, 2024

Hello, current PR resolves #169. While trying to run application on newest versions you may encounter:

`Execution failed for task ':flutter_contacts:compileDebugKotlin'.

'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain`

and because of that, you cannot compile application since package is targeting version lower than expected. Since we are targeting SDK 34, we should as well support Java 1.8

Fixes #169

PR includes as well support for SDK 34, since it supports now compileSDK

@joachim-quis
Copy link
Contributor

Hi @PcolBP - thanks a lot for your fix! I uploaded a new version 1.1.9 which I think should fix the issue. If it does not, please let me know, and reopen this PR.

@ManuelFMartinho
Copy link

HI, @joachim-quis this is not fixed in the 1.1.9 version
@PcolBP can you confirm?
thanks

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

Successfully merging this pull request may close these issues.

compatibility issues with java 1.8 and java 17
3 participants