Provides methods to configure the task using the Gradle JVM toolchain.
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.