public class FileContentMerger extends Object
For examples see docs for EclipseProject
or IdeaProject
and others.
Constructor and Description |
---|
FileContentMerger() |
Modifier and Type | Method and Description |
---|---|
void |
beforeMerged(Action<?> action)
Adds an action to be called after content is loaded from existing file but before gradle build information is merged.
|
void |
beforeMerged(Closure closure)
Deprecated.
|
org.gradle.listener.ActionBroadcast |
getBeforeMerged() |
org.gradle.listener.ActionBroadcast |
getWhenMerged() |
void |
setBeforeMerged(org.gradle.listener.ActionBroadcast beforeMerged) |
void |
setWhenMerged(org.gradle.listener.ActionBroadcast whenMerged) |
void |
whenMerged(Action<?> action)
Adds an action to be called after content is loaded from existing file and after gradle build information is merged.
|
void |
whenMerged(Closure closure)
Deprecated.
|
public org.gradle.listener.ActionBroadcast getWhenMerged()
public void setWhenMerged(org.gradle.listener.ActionBroadcast whenMerged)
public org.gradle.listener.ActionBroadcast getBeforeMerged()
public void setBeforeMerged(org.gradle.listener.ActionBroadcast beforeMerged)
public void beforeMerged(Action<?> action)
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 EclipseProject
or IdeaProject
and others.
action
- The action to execute.public void whenMerged(Action<?> action)
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 EclipseProject
or IdeaProject
and others.
action
- The action to execute.@Deprecated public void beforeMerged(Closure closure)
beforeMerged(Action)
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 EclipseProject
or IdeaProject
and others.
closure
- The closure to execute.@Deprecated public void whenMerged(Closure closure)
whenMerged(Action)
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 EclipseProject
or IdeaProject
and others.
closure
- The closure to execute.