|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.nativebinaries.tasks.AbstractLinkTask
@Incubating abstract class AbstractLinkTask extends DefaultTask
Property Summary | |
---|---|
FileCollection |
libs
The library files to be passed to the linker. |
List |
linkerArgs
Additional arguments passed to the linker. |
File |
outputFile
The file where the linked binary will be located. |
FileCollection |
source
The source object files to be passed to the linker. |
Platform |
targetPlatform
|
ToolChain |
toolChain
The tool chain used for linking. |
Constructor Summary | |
AbstractLinkTask()
|
Method Summary | |
---|---|
protected LinkerSpec
|
createLinkerSpec()
|
File
|
getDestinationDir()
|
def
|
getOutputType()
|
void
|
lib(Object libs)
Adds a set of library files to be linked. |
void
|
link()
|
void
|
source(Object source)
Adds a set of object files to be linked. |
Property Detail |
---|
@InputFiles FileCollection libs
@Input List linkerArgs
@OutputFile File outputFile
@InputFiles FileCollection source
Platform targetPlatform
ToolChain toolChain
Constructor Detail |
---|
@Inject AbstractLinkTask()
Method Detail |
---|
protected LinkerSpec createLinkerSpec()
@OutputDirectory File getDestinationDir()
@Input def getOutputType()
void lib(Object libs)
@TaskAction void link()
void source(Object source)
Gradle API 1.12