api / org.gradle.api.java.archives / ManifestMergeDetails

ManifestMergeDetails

interface ManifestMergeDetails

Details of a value being merged from two different manifests.

Functions

exclude

abstract fun exclude(): Unit

Excludes this key from being in the manifest after the merge.

getBaseValue

abstract fun getBaseValue(): String

Returns the value for the key of the manifest that is the target of the merge.

getKey

abstract fun getKey(): String

Returns the key that is to be merged.

getMergeValue

abstract fun getMergeValue(): String

Returns the value for the key of the manifest that is the source for the merge.

getSection

abstract fun getSection(): String

Returns the section this merge details belongs to.

getValue

abstract fun getValue(): String

Returns the value for the key of the manifest after the merge takes place. By default this is the value of the source for the merge.

setValue

abstract fun setValue(value: String): Unit

Set's the value for the key of the manifest after the merge takes place.