|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface PluginAware
Objects a Plugin can be applied to.
For more on writing and applying plugins, see Plugin.
Method Summary | |
---|---|
void
|
apply(Closure closure)
|
void
|
apply(Map options)
|
PluginContainer
|
getPlugins()
Returns the plugins container for this object. |
Method Detail |
---|
public void apply(Closure closure)
Configures this object using plugins or scripts. The given closure is used to configure an ObjectConfigurationAction which is then used to configure this object.
closure
- The closure to configure the ObjectConfigurationAction.
public void apply(Map options)
Configures this Object using plugins or scripts. The following options are available:
For more detail, see ObjectConfigurationAction.
options
- The options to use to configure the ObjectConfigurationAction.
public PluginContainer getPlugins()
Gradle API 1.12