|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.nativebinaries.ProjectNativeComponentorg.gradle.api.Named
@Incubating @HasInternalProtocol public interface ProjectNativeComponent extends Named
Represents a logical software component, which may be built in a number of variant binaries.
Method Summary | |
---|---|
String
|
getBaseName()
The name that is used to construct the output file names when building this component. |
DomainObjectSet
|
getBinaries()
The binaries that are built for this component. |
String
|
getDisplayName()
Returns a human-consumable display name for this component. |
DomainObjectSet
|
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 LanguageSourceSets that are used to compile this binary. |
void
|
targetBuildTypes(Object... platformSelectors)
Specifies one or more BuildTypes that this component should be built for. |
void
|
targetFlavors(Object... flavorSelectors)
Specifies one or more Flavors that this component should be built for. |
void
|
targetPlatforms(Object... platformSelectors)
Specifies one or more Platforms that this component should be built for. |
Methods inherited from interface Named | |
---|---|
getName |
Method Detail |
---|
public String getBaseName()
public DomainObjectSet getBinaries()
public String getDisplayName()
public DomainObjectSet getSource()
public void setBaseName(String baseName)
public void source(Object source)
public void targetBuildTypes(Object... platformSelectors)
public void targetFlavors(Object... flavorSelectors)
public void targetPlatforms(Object... platformSelectors)
Gradle API 1.11-rc-1