api / org.gradle.api.component / ComponentWithVariants

ComponentWithVariants

@Incubating interface ComponentWithVariants : SoftwareComponent

Represents a SoftwareComponent that provides one or more mutually exclusive children, or variants.

Since
4.3

Functions

getVariants

abstract fun getVariants(): MutableSet<out SoftwareComponent>