JavaToolchainSetter

Provides methods to configure the task using the Gradle JVM toolchain.

Functions

Link copied to clipboard
abstract fun use(javaLauncher: Provider<JavaLauncher>)

Configures the JVM toolchain for a task using the JavaLauncher obtained from org.gradle.jvm.toolchain.JavaToolchainService via the org.gradle.api.plugins.JavaPluginExtension extension.