interface ManifestMergeSpec
Specifies how the entries of multiple manifests should be merged together.
abstract fun eachEntry(mergeAction: Action<in ManifestMergeDetails>): ManifestMergeSpec
Adds an action to be applied to each key-value tuple in a merge operation. If multiple merge paths are specified, the action is called for each key-value tuple of each merge operation. The given action is called with a org.gradle.api.java.archives.ManifestMergeDetails as its parameter. Actions are executed in the order added. abstract fun eachEntry(mergeAction: Closure<*>): ManifestMergeSpec
Adds an action to be applied to each key-value tuple in a merge operation. If multiple merge paths are specified, the action is called for each key-value tuple of each merge operation. The given closure is called with a org.gradle.api.java.archives.ManifestMergeDetails as its parameter. Actions are executed in the order added. |
|
abstract fun from(vararg mergePaths: Any): ManifestMergeSpec
Adds a merge path to a manifest that should be merged into the base manifest. A merge path can be either another org.gradle.api.java.archives.Manifest or a path that is evaluated as per |
|
abstract fun getContentCharset(): String
The character set used to decode the merged manifest content. Defaults to UTF-8. |
|
abstract fun setContentCharset(contentCharset: String): Unit
The character set used to decode the merged manifest content. |