@Incubating public interface ComponentSpec extends Named
Named.Namer
Modifier and Type | Method and Description |
---|---|
void |
binaries(Action<? super ModelMap<BinarySpec>> action)
Configures the binaries that are produced for this component.
|
ModelMap<BinarySpec> |
getBinaries()
The binaries that are built for this component.
|
String |
getDisplayName()
Returns a human-consumable display name for this component.
|
String |
getProjectPath()
The path the the project containing this component.
|
ModelMap<LanguageSourceSet> |
getSource()
The source sets that are used to build this component.
|
void |
sources(Action<? super ModelMap<LanguageSourceSet>> action)
Configures the source sets used to build this component.
|
String getProjectPath()
String getDisplayName()
ModelMap<LanguageSourceSet> getSource()
void sources(Action<? super ModelMap<LanguageSourceSet>> action)
ModelMap<BinarySpec> getBinaries()
void binaries(Action<? super ModelMap<BinarySpec>> action)