@Incubating interface GeneralComponentSpec : ComponentSpec, SourceComponentSpec, VariantComponentSpec
A general purpose component specification, that can be used to represent some software component built from source and producing multiple output variants.
abstract fun getBinaries(): ModelMap<BinarySpec>
The variants produced for this component spec. |
|
abstract fun getProjectPath(): String
The path to the project containing this component. |
|
abstract fun getSources(): ModelMap<LanguageSourceSet>
The source sets for this component. |
interface ApplicationSpec : GeneralComponentSpec
A specification of a org.gradle.platform.base.Application. |
|
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. |
|
interface LibrarySpec : GeneralComponentSpec
A specification of a org.gradle.platform.base.Library. |
|
interface TestSuiteSpec : GeneralComponentSpec
A component representing a suite of tests that will be built and executed together. |