Interface KotlinJavaToolchain

  • All Implemented Interfaces:

    
    public interface KotlinJavaToolchain
    
                        

    The Kotlin JVM toolchain.

    This interface provides ways to configure the JDK either via JdkSetter by providing a path to JDK directly, or via JavaToolchainSetter using the configured JavaLauncher.

    The configured JDK Java version is exposed as a task input so that Gradle only reuses the task outputs stored in the build cache with the same JDK version.