@Incubating public class BaseComponentSpec extends org.gradle.platform.base.component.internal.DefaultComponentSpec implements GeneralComponentSpec
GeneralComponentSpec
implementations. However, it is generally better to use an
interface annotated with Managed
and not use an implementation class at all.org.gradle.platform.base.component.internal.DefaultComponentSpec.ComponentInfo
Named.Namer
Constructor and Description |
---|
BaseComponentSpec() |
Modifier and Type | Method and Description |
---|---|
ModelMap<BinarySpec> |
getBinaries()
The variants produced for this component spec.
|
ModelMap<LanguageSourceSet> |
getSources()
The source sets for this component.
|
Iterable<Binary> |
getVariants()
The variants of this component.
|
create, getInfo
getDisplayName, getIdentifier, getName, getProjectPath, getTypeName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProjectPath
getName
getDisplayName
public ModelMap<LanguageSourceSet> getSources()
SourceComponentSpec
getSources
in interface SourceComponentSpec
public ModelMap<BinarySpec> getBinaries()
VariantComponentSpec
getBinaries
in interface VariantComponentSpec
public Iterable<Binary> getVariants()
VariantComponent
getVariants
in interface VariantComponent