Named, ModelElement, ComponentSpec, GeneralComponentSpec, org.gradle.platform.base.internal.ComponentSpecInternal, SourceComponentSpec, VariantComponent, VariantComponentSpec@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.ComponentInfoNamed.Namer| Constructor | Description |
|---|---|
BaseComponentSpec() |
| Modifier and Type | Method | Description |
|---|---|---|
ModelMap<BinarySpec> |
getBinaries() |
The variants produced for this component spec.
|
ModelMap<LanguageSourceSet> |
getSources() |
The source sets for this component.
|
java.lang.Iterable<Binary> |
getVariants() |
The variants of this component.
|
create, getInfogetDisplayName, getIdentifier, getName, getProjectPath, getTypeName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProjectPathgetDisplayNamegetNamepublic ModelMap<LanguageSourceSet> getSources()
SourceComponentSpecgetSources in interface SourceComponentSpecpublic ModelMap<BinarySpec> getBinaries()
VariantComponentSpecgetBinaries in interface VariantComponentSpecpublic java.lang.Iterable<Binary> getVariants()
VariantComponentgetVariants in interface VariantComponent