Interface ToolsExtension

All Superinterfaces:
org.gradle.api.plugins.ExtensionAware

@Experimental public sealed interface ToolsExtension extends org.gradle.api.plugins.ExtensionAware
This extension can be optionally enabled by implementing plugins to allow buildscript authors to drop-in replace, or otherwise customize, the tools that are used by this plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(String name, org.gradle.api.Action<? super Tool.Definition> action)
    Configures the definition of the given tool by its name.

    Methods inherited from interface org.gradle.api.plugins.ExtensionAware

    getExtensions
  • Method Details

    • configure

      void configure(String name, org.gradle.api.Action<? super Tool.Definition> action)
      Configures the definition of the given tool by its name.
      Parameters:
      name - The name of the tool to configure the definition for
      action - The configuring action