Class PropertiesFileContentMerger
For examples see docs for EclipseJdt and others.
-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesFileContentMerger(org.gradle.api.internal.PropertiesTransformer transformer) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeMerged(Closure closure) Deprecated.Adds a closure to be called after content is loaded from existing file but before gradle build information is merged.voidbeforeMerged(Action<?> action) Deprecated.Adds an action to be called after content is loaded from existing file but before gradle build information is merged.org.gradle.api.internal.PropertiesTransformerDeprecated.voidsetTransformer(org.gradle.api.internal.PropertiesTransformer transformer) Deprecated.voidwhenMerged(Closure closure) Deprecated.Adds a closure to be called after content is loaded from existing file and after gradle build information is merged.voidwhenMerged(Action<?> action) Deprecated.Adds an action to be called after content is loaded from existing file and after gradle build information is merged.voidwithProperties(Closure closure) Deprecated.Adds a closure to be called when the file has been created.voidwithProperties(Action<Properties> action) Deprecated.Adds an action to be called when the file has been created.Methods inherited from class FileContentMerger
getBeforeMerged, getWhenMerged, setBeforeMerged, setWhenMerged
-
Constructor Details
-
PropertiesFileContentMerger
public PropertiesFileContentMerger(org.gradle.api.internal.PropertiesTransformer transformer) Deprecated.
-
-
Method Details
-
getTransformer
public org.gradle.api.internal.PropertiesTransformer getTransformer()Deprecated. -
setTransformer
public void setTransformer(org.gradle.api.internal.PropertiesTransformer transformer) Deprecated. -
withProperties
Deprecated.Adds a closure to be called when the file has been created. ThePropertiesare 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
EclipseJdtand others.- Parameters:
closure- The closure to execute when the Properties have been created.
-
withProperties
Deprecated.Adds an action to be called when the file has been created. ThePropertiesare passed to the action as a parameter. The action can modify the Properties before they are written to the output file.For examples see docs for
EclipseJdtand others.- Parameters:
action- The action to execute when the Properties have been created.
-
beforeMerged
Deprecated.Description copied from class:FileContentMergerAdds an action to be called after content is loaded from existing file but before gradle build information is merged.This is advanced api that gives access to internal implementation. It might be useful if you want to alter the way gradle build information is merged into existing file content.
For examples see docs for
EclipseProjectorIdeaProjectand others.- Overrides:
beforeMergedin classFileContentMerger- Parameters:
action- The action to execute.
-
whenMerged
Deprecated.Description copied from class:FileContentMergerAdds an action to be called after content is loaded from existing file and after gradle build information is merged.This is advanced api that gives access to internal implementation of idea plugin. Use it only to tackle some tricky edge cases.
For examples see docs for
EclipseProjectorIdeaProjectand others.- Overrides:
whenMergedin classFileContentMerger- Parameters:
action- The action to execute.
-
beforeMerged
Deprecated.Description copied from class:FileContentMergerAdds a closure to be called after content is loaded from existing file but before gradle build information is merged.This is advanced api that gives access to internal implementation. It might be useful if you want to alter the way gradle build information is merged into existing file content.
For examples see docs for
EclipseProjectorIdeaProjectand others.- Overrides:
beforeMergedin classFileContentMerger- Parameters:
closure- The closure to execute.
-
whenMerged
Deprecated.Description copied from class:FileContentMergerAdds a closure to be called after content is loaded from existing file and after gradle build information is merged.This is advanced api that gives access to internal implementation of idea plugin. Use it only to tackle some tricky edge cases.
For examples see docs for
EclipseProjectorIdeaProjectand others.- Overrides:
whenMergedin classFileContentMerger- Parameters:
closure- The closure to execute.
-