@Incubating public interface ProjectNativeBinary extends NativeBinary
Named.Namer
Modifier and Type | Method 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. |
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
LanguageSourceSet s that are used to compile this binary. |
getBuildType, getFlavor, getTargetPlatform
getDisplayName
builtBy, setLifecycleTask
getBuildDependencies
ProjectNativeComponent getComponent()
boolean isBuildable()
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
sCollection<NativeDependencySet> getLibs()
void lib(Object library)
Library
NativeDependencySet
Map
containing the library selector.Tool getLinker()
Tool getStaticLibArchiver()
NativeBinaryTasks getTasks()