use
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.
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.