@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
LanguageSourceSets that are used to compile this binary. |
isBuildablegetBuildType, getFlavor, getTargetPlatformgetDisplayNamebuiltBy, getBuildTask, hasBuildDependencies, setBuildTaskgetBuildDependenciesProjectNativeComponent getComponent()
DomainObjectSet<LanguageSourceSet> getSource()
void source(Object source)
LanguageSourceSets that are used to compile this binary.
This method accepts the following types:
FunctionalSourceSetLanguageSourceSetLanguageSourceSetsCollection<NativeDependencySet> getLibs()
void lib(Object library)
NativeLibraryNativeDependencySetMap containing the library selector.Tool getLinker()
Tool getStaticLibArchiver()
NativeBinaryTasks getTasks()