api / org.gradle.api.plugins.osgi / OsgiManifest / instructionReplace

instructionReplace

abstract fun instructionReplace(name: String, vararg values: String): OsgiManifest

Sets the values for an instruction. If the instruction does not exists, it is created. If it does exists, the values replace the existing values.

Parameters

name - Name of the instruction.

values - The values for the instruction.

Return
this

See Also
#instruction(String, String...)#instructionFirst(String, String...)