gradle
8.4

# metaInf

open fun metaInf(@DelegatesTo(value = CopySpec::class) configureClosure: Closure<out Any>): CopySpec(source)

Adds content to this JAR archive's META-INF directory.

The given closure is executed to configure a `CopySpec`. The org.gradle.api.file.CopySpec is passed to the closure as its delegate.

#### Return

The created `CopySpec`

#### Parameters

configureClosure

The closure.

open fun metaInf(configureAction: Action<out Any>): CopySpec(source)

Adds content to this JAR archive's META-INF directory.

The given action is executed to configure a `CopySpec`.

#### Return

The created `CopySpec`

#### Parameters

configureAction

The action.