Represents a particular binary artifact that is the result of building a native component.
Type | Name and description |
---|---|
ProjectNativeComponent |
getComponent() The component that this binary was built from. |
Collection<NativeDependencySet> |
getLibs() The libraries that should be linked into this binary. |
Tool |
getLinker() The settings used for linking this binary. |
DomainObjectSet<LanguageSourceSet> |
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. |
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 class | Name |
---|---|
interface ProjectBinary |
isBuildable |
interface NativeBinary |
getBuildType, getFlavor, getTargetPlatform |
The component that this binary was built from.
The libraries that should be linked into this binary.
The settings used for linking this binary.
The source sets used to compile this binary.
The static archiver settings used for creating this binary.
The set of tasks associated with this binary.
Adds a library as input to this binary.
This method accepts the following types:Adds one or more LanguageSourceSets that are used to compile this binary.
This method accepts the following types: