use

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.