@Incubating public interface ProjectNativeBinary extends ProjectBinary, 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. |
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. |
isBuildable
getBuildType, getFlavor, getTargetPlatform
getDisplayName
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
getBuildDependencies
ProjectNativeComponent getComponent()
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)
NativeLibrary
NativeDependencySet
Map
containing the library selector.Tool getLinker()
Tool getStaticLibArchiver()
NativeBinaryTasks getTasks()