Class JvmToolchainsPlugin

java.lang.Object
org.gradle.api.plugins.JvmToolchainsPlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public abstract class JvmToolchainsPlugin extends Object implements Plugin<Project>
A plugin that provides JVM toolchains for projects that need to execute Java from local JVM installations or run the tools included in a JDK. The plugin makes JavaToolchainService available via a project extension.
Since:
7.6
  • Constructor Details

    • JvmToolchainsPlugin

      @Inject public JvmToolchainsPlugin(org.gradle.jvm.toolchain.internal.JavaToolchainQueryService javaToolchainQueryService)
  • Method Details

    • apply

      public void apply(Project target)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      target - The target object