Class GradlePlugin
java.lang.Object
io.spring.initializr.generator.buildsystem.gradle.GradlePlugin
- Direct Known Subclasses:
StandardGradlePlugin
A plugin in a
GradleBuild
.- Author:
- Andy Wilkinson
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GradlePlugin
Create a new instance.- Parameters:
id
- the id of the pluginapply
- whether the plugin should be applied or not
-
-
Method Details
-
getId
Return the plugin identifier.- Returns:
- the plugin id
-
isApply
public boolean isApply()Return whether the plugin should be applied.- Returns:
true
to useapply
,false
to register it
-