|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.nativebinaries.NativeBinary org.gradle.nativebinaries.ProjectNativeBinary org.gradle.language.base.BuildableModelElement org.gradle.language.base.Binary org.gradle.api.Buildable org.gradle.api.Named
@Incubating @HasInternalProtocol public interface ProjectNativeBinary extends NativeBinary
Represents a particular binary artifact that is the result of building a native component.
Method Summary | |
---|---|
ProjectNativeComponent
|
getComponent()
The component that this binary was built from. |
Collection
|
getLibs()
The libraries that should be linked into this binary. |
Tool
|
getLinker()
The settings used for linking this binary. |
DomainObjectSet
|
getSource()
The source sets used to compile this binary. |
Tool
|
getStaticLibArchiver()
The static archiver settings used for creating this binary. |
NativeBinaryTasks
|
getTasks()
The set of tasks associated with this binary. |
ToolChain
|
getToolChain()
Returns the ToolChain that will be used to build this binary. |
boolean
|
isBuildable()
Can this binary be built in the current environment? |
void
|
lib(Object library)
Adds a library as input to this binary. |
void
|
source(Object source)
Adds one or more LanguageSourceSets that are used to compile this binary. |
Methods inherited from interface NativeBinary | |
---|---|
getBuildType, getFlavor, getTargetPlatform |
Methods inherited from interface Binary | |
---|---|
getDisplayName |
Methods inherited from interface BuildableModelElement | |
---|---|
builtBy, hasBuildDependencies, setLifecycleTask |
Methods inherited from interface Named | |
---|---|
getName |
Method Detail |
---|
public ProjectNativeComponent getComponent()
public Collection getLibs()
public Tool getLinker()
public DomainObjectSet getSource()
public Tool getStaticLibArchiver()
public NativeBinaryTasks getTasks()
public ToolChain getToolChain()
public boolean isBuildable()
public void lib(Object library)
public void source(Object source)
Gradle API 1.12