I just upgraded my app to Android Gradle Plugin 8 and I get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':file_picker_writable: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
There is probably a way I can set this for all subprojects in my own app, but it also seems you should have this in your build.gradle:
I just upgraded my app to Android Gradle Plugin 8 and I get the following error:
There is probably a way I can set this for all subprojects in my own app, but it also seems you should have this in your build.gradle: