alanjhughes / expo-google-places-autocomplete

MIT License
25 stars 8 forks source link

compileDebugJavaWithJavac and compileDebugKotlin should be set to the same Java version #8

Open kkarski opened 8 months ago

kkarski commented 8 months ago

`* What went wrong: Execution failed for task ':expo-google-places-autocomplete:compileDebugKotlin'.

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

It seems like my JVM version is higher than this plugin (?) and am being asked to downgrade (if I understand this error correctly). Is there a way to make this setting more flexible?

drazik commented 8 months ago

Same problem here. The expo docs recommend JDK version 17 for Expo SDK 50 and above: https://docs.expo.dev/guides/local-app-development/#android

But it seems this module needs JDK version 11. Is it possible to override this somehow?

fobos531 commented 8 months ago

this will be fixed by https://github.com/alanjhughes/expo-google-places-autocomplete/pull/9