|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.nativecode.base.NativeBinary org.gradle.language.base.BuildableModelElement org.gradle.api.Named org.gradle.api.Buildable org.gradle.language.base.Binary
@Incubating @HasInternalProtocol public interface NativeBinary extends Binary
Represents a particular binary artifact that is the result of building a native component.
Method Summary | |
---|---|
void
|
assemblerArgs(Object... args)
Adds a number of arguments to be passed to the assembler. |
void
|
compilerArgs(Object... args)
Adds a number of arguments to be passed to the compiler. |
void
|
define(Object... defines)
Adds a number of preprocessor macros to define when compiling this binary. |
List
|
getAssemblerArgs()
The arguments passed when assembling this binary. |
List
|
getCompilerArgs()
The arguments passed when compiling this binary. |
Flavor
|
getFlavor()
The flavor that this binary was built with. |
Collection
|
getLibs()
The libraries that should be linked into this binary. |
List
|
getLinkerArgs()
The arguments passed when linking this binary. |
List
|
getMacros()
The set of preprocessor macros to define when compiling this binary. |
File
|
getOutputFile()
The file where this binary will be created. |
DomainObjectSet
|
getSource()
The source sets used to compile 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
|
linkerArgs(Object... args)
Adds a number of arguments to be passed to the linker. |
void
|
setOutputFile(File outputFile)
Sets the file where this binary will be created. |
void
|
source(Object source)
Adds one or more LanguageSourceSets that are used to compile this binary. |
Methods inherited from interface BuildableModelElement | |
---|---|
dependsOn, setLifecycleTask |
Methods inherited from interface Named | |
---|---|
getName |
Method Detail |
---|
public void assemblerArgs(Object... args)
public void compilerArgs(Object... args)
public void define(Object... defines)
public List getAssemblerArgs()
public List getCompilerArgs()
public Flavor getFlavor()
public Collection getLibs()
public List getLinkerArgs()
public List getMacros()
public File getOutputFile()
public DomainObjectSet getSource()
public ToolChain getToolChain()
public void lib(Object library)
public void linkerArgs(Object... args)
public void setOutputFile(File outputFile)
public void source(Object source)
Gradle API 1.8