interface Manifest
Represents the manifest file of a JAR file.
abstract fun attributes(attributes: MutableMap<String, *>): Manifest
Adds content to the main attributes of the manifest. abstract fun attributes(attributes: MutableMap<String, *>, sectionName: String): Manifest
Adds content to the given section of the manifest. |
|
abstract fun from(vararg mergePath: Any): Manifest
Specifies other manifests to be merged into this manifest. A merge path can either be another instance of org.gradle.api.java.archives.Manifest or a file path as interpreted by abstract fun from(mergePath: Any, closure: Closure<*>): Manifest
Specifies other manifests to be merged into this manifest. A merge path is interpreted as described in |
|
abstract fun getAttributes(): Attributes
Returns the main attributes of the manifest. |
|
abstract fun getEffectiveManifest(): Manifest
Returns a new manifest instance where all the attribute values are expanded (e.g. their toString method is called). The returned manifest also contains all the attributes of the to be merged manifests specified in |
|
abstract fun getSections(): MutableMap<String, Attributes>
Returns the sections of the manifest (excluding the main section). |
|
abstract fun writeTo(path: Any): Manifest
Writes the manifest into a file. The path's are resolved as defined by |
interface OsgiManifest : Manifest
Represents a manifest file for a JAR containing an OSGi bundle. |