api / org.gradle.language / ProductionComponent

ProductionComponent

@Incubating interface ProductionComponent : SoftwareComponent

Represents a component that is the main product of a project.

Since
4.5

Functions

getDevelopmentBinary

abstract fun getDevelopmentBinary(): Provider<out SoftwareComponent>

Returns the binary of the component to use as the default for development.

Inheritors

ProductionCppComponent

interface ProductionCppComponent : CppComponent, ProductionComponent

Represents a C++ component that is the main product of a project.

ProductionSwiftComponent

interface ProductionSwiftComponent : SwiftComponent, ProductionComponent

Represents a Swift component that is the main product of a project.