QuisApp / flutter_contacts

MIT License
83 stars 138 forks source link

FIX: Incompatible java target with newest versions #170

Closed PcolBP closed 1 month ago

PcolBP commented 1 month ago

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 commented 1 month ago

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.