jvm target compatibility should be set to the same Java version.
jiangxincode opened this issue · comments
[Kotlin]Gradle Java toolchains support:
https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support
[APG]Setting JVM toolchain does not affect JavaCompile targetCompatibility value :
https://issuetracker.google.com/issues/260059413
[Gradle]Targeting a specific Java version:
https://docs.gradle.org/current/userguide/building_java_projects.html#sec:java_cross_compilation