Packages a plugin in source or binary form.
Modifiers | Name | Description |
---|---|---|
static java.lang.Object |
EXCLUDED_RESOURCES |
|
static java.lang.Object |
INCLUDED_RESOURCES |
Type | Name and description |
---|---|
GrailsBuildEventListener |
eventListener |
BuildSettings |
grailsSettings |
boolean |
hasApplicationDependencies |
java.util.List<java.io.File> |
jarFiles |
Constructor and description |
---|
PluginPackager
(BuildSettings buildSettings, java.lang.Object pluginInfo, Resource[] resourceList, java.io.File projectWorkDir, GrailsBuildEventListener eventListener, BuildSettings grailsSettings) |
Type | Name and description |
---|---|
protected java.lang.Object |
findIncludesAndExcludes(java.lang.Object pluginProps) |
java.lang.Object |
generatePluginXml(java.io.File descriptor) Generates the plugin.xml file for the plugin descriptor |
groovy.util.AntBuilder |
getAnt() |
java.io.File |
getBasedir() |
java.io.File |
getResourcesDir() |
java.lang.String |
packageBinary(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir) |
java.lang.Object |
packagePlugin(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir) |
java.lang.String |
packageSource(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir) |
protected void |
runResourcesClosure(java.io.File stagingDir) ", "* |
void |
setAnt(groovy.util.AntBuilder ant) |
void |
setResourcesDir(java.io.File resourcesDir) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Generates the plugin.xml file for the plugin descriptor
descriptor
- The descriptor", "*
Groovy Documentation