public interface ManifestMergeSpec
| Modifier and Type | Method | Description |
|---|---|---|
ManifestMergeSpec |
eachEntry(Closure<?> mergeAction) |
Adds an action to be applied to each key-value tuple in a merge operation.
|
ManifestMergeSpec |
eachEntry(Action<? super ManifestMergeDetails> mergeAction) |
Adds an action to be applied to each key-value tuple in a merge operation.
|
ManifestMergeSpec |
from(Object... mergePaths) |
Adds a merge path to a manifest that should be merged into the base manifest.
|
String |
getContentCharset() |
The character set used to decode the merged manifest content.
|
void |
setContentCharset(String contentCharset) |
The character set used to decode the merged manifest content.
|
String getContentCharset()
void setContentCharset(String contentCharset)
contentCharset - the character set used to decode the merged manifest contentgetContentCharset()ManifestMergeSpec from(Object... mergePaths)
Manifest or a path that is evaluated as per
Project.files(Object...) . If multiple merge paths are specified, the manifest are merged
in the order in which they are added.mergePaths - The paths of manifests to be mergedManifestMergeSpec eachEntry(Action<? super ManifestMergeDetails> mergeAction)
ManifestMergeDetails as its parameter. Actions are executed
in the order added.mergeAction - A merge action to be executed.ManifestMergeSpec eachEntry(Closure<?> mergeAction)
ManifestMergeDetails as its parameter. Actions are executed
in the order added.mergeAction - The action to execute.