@Incubating public interface NativeComponent extends Named
Named.Namer
Modifier and Type | Method and Description |
---|---|
void |
flavors(Action<? super FlavorContainer> config)
Configure the flavors for this component.
|
String |
getBaseName()
The name that is used to construct the output file names when building this component.
|
DomainObjectSet<NativeBinary> |
getBinaries()
The binaries that are built for this component.
|
FlavorContainer |
getFlavors()
The set of flavors defined for this component.
|
DomainObjectSet<LanguageSourceSet> |
getSource()
The source sets that are used to build this component.
|
void |
setBaseName(String baseName)
Sets the name that is used to construct the output file names when building this component.
|
void |
source(Object source)
Adds one or more
LanguageSourceSet s that are used to compile this binary. |
DomainObjectSet<LanguageSourceSet> getSource()
void source(Object source)
LanguageSourceSet
s that are used to compile this binary.
This method accepts the following types:
FunctionalSourceSet
LanguageSourceSet
LanguageSourceSet
sDomainObjectSet<NativeBinary> getBinaries()
String getBaseName()
void setBaseName(String baseName)
FlavorContainer getFlavors()
void flavors(Action<? super FlavorContainer> config)