Models the generation/parsing/merging capabilities. Adds properties-related hooks.
For examples see docs for EclipseJdt and others.
Type | Name and description |
---|---|
PropertiesTransformer |
transformer |
Constructor and description |
---|
PropertiesFileContentMerger
(PropertiesTransformer transformer) |
Type | Name and description |
---|---|
void |
withProperties(Closure closure) Adds a closure to be called when the file has been created. |
Methods inherited from class | Name |
---|---|
class FileContentMerger |
beforeMerged, whenMerged |
Adds a closure to be called when the file has been created. The Properties are passed to the closure as a parameter. The closure can modify the Properties before they are written to the output file.
For examples see docs for EclipseJdt and others.
closure
- The closure to execute when the Properties have been created.Gradle API 2.2-20140924021627+0000