Class JvmToolchainsPlugin

  • All Implemented Interfaces:

    public abstract class JvmToolchainsPlugin
    extends java.lang.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.
    • Constructor Summary

      Constructor Description
      JvmToolchainsPlugin​(org.gradle.jvm.toolchain.internal.JavaToolchainQueryService javaToolchainQueryService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(Project target)
      Apply this plugin to the given target object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JvmToolchainsPlugin

        public JvmToolchainsPlugin​(org.gradle.jvm.toolchain.internal.JavaToolchainQueryService javaToolchainQueryService)
    • Method Detail

      • 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>
        target - The target object