api / org.gradle.platform.base.component / BaseComponentSpec

BaseComponentSpec

@Incubating open class BaseComponentSpec : DefaultComponentSpec, GeneralComponentSpec

Base class that may be used for custom GeneralComponentSpec implementations. However, it is generally better to use an interface annotated with org.gradle.model.Managed and not use an implementation class at all.

Constructors

<init>

BaseComponentSpec()

Functions

getBinaries

open fun getBinaries(): ModelMap<BinarySpec>

getSources

open fun getSources(): ModelMap<LanguageSourceSet>

getVariants

open fun getVariants(): MutableIterable<Binary>