Plugins are not intended to provide general methods, but tasks.
When it comes to extensions, they should be used to collect input for application plugins:
Most plugins should get some configuration from the build script. One way to do this is to use extension objects.
.
Peter , , ext, , .