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

instructionFirst

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

Adds arguments to an instruction. If the instruction does not exists, it is created. If it does exists, the arguments are inserted before the existing arguments.

Parameters

name - Name of the instruction.

values - The values for the instruction.

Return
this

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