java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradlePlugin
Direct Known Subclasses:
StandardGradlePlugin

public class GradlePlugin extends Object
A plugin in a GradleBuild.
Author:
Andy Wilkinson
  • Constructor Details

    • GradlePlugin

      public GradlePlugin(String id, boolean apply)
      Create a new instance.
      Parameters:
      id - the id of the plugin
      apply - whether the plugin should be applied or not
  • Method Details

    • getId

      public String getId()
      Return the plugin identifier.
      Returns:
      the plugin id
    • isApply

      public boolean isApply()
      Return whether the plugin should be applied.
      Returns:
      true to use apply, false to register it