api / org.gradle.jvm.tasks / Jar / manifest

manifest

open fun manifest(configureClosure: Closure<*>): Jar

Configures the manifest for this JAR archive.

The given closure is executed to configure the manifest. The org.gradle.api.java.archives.Manifest is passed to the closure as its delegate.

Parameters

configureClosure - The closure.

Return
This.

open fun manifest(configureAction: Action<in Manifest>): Jar

Configures the manifest for this JAR archive.

The given action is executed to configure the manifest.

Parameters

configureAction - The action.

Return
This.

Since
3.5