800e382ba9
User should instead use KotlinJavaToolchain that will take care of tracking major java version and provide nicer API. Gradle will still pass jdkHome value to the compiler, but it should be changed in Kotlin 1.6 release. ^KT-45611 Fixed