@Incubating public interface ProjectNativeComponent extends Named
Named.Namer
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getDisplayName()
Returns a human-consumable display name 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. |
void |
targetBuildTypes(Object... platformSelectors)
Specifies one or more
BuildType s that this component should be built for. |
void |
targetFlavors(Object... flavorSelectors)
Specifies one or more
Flavor s that this component should be built for. |
void |
targetPlatforms(Object... platformSelectors)
Specifies one or more
Platform s that this component should be built for. |
String getDisplayName()
DomainObjectSet<NativeBinary> getBinaries()
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
sString getBaseName()
void setBaseName(String baseName)
void targetFlavors(Object... flavorSelectors)
Flavor
s that this component should be built for.
This method accepts the following types:
void targetPlatforms(Object... platformSelectors)
Platform
s that this component should be built for.
This method accepts the following types: