api / org.gradle.platform.base.plugins / BinaryBasePlugin

BinaryBasePlugin

@Incubating open class BinaryBasePlugin : Plugin<Project>

Base plugin for binaries support. - Adds a BinarySpec container named binaries to the project. - Registers the base BinarySpec type. - For each BinarySpec, registers a lifecycle task to assemble that binary. - For each BinarySpec, adds the binary's source sets as its default inputs. - Links the tasks for each BinarySpec across to the tasks container.

Constructors

<init>

BinaryBasePlugin()

Base plugin for binaries support. - Adds a BinarySpec container named binaries to the project. - Registers the base BinarySpec type. - For each BinarySpec, registers a lifecycle task to assemble that binary. - For each BinarySpec, adds the binary's source sets as its default inputs. - Links the tasks for each BinarySpec across to the tasks container.

Functions

apply

open fun apply(target: Project): Unit