|
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.nativecode.base.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. |
ToolChain |
toolChain
The tool chain used for linking. |
Constructor Summary | |
AbstractLinkTask()
|
Method Summary | |
---|---|
protected LinkerSpec
|
createLinkerSpec()
|
File
|
getDestinationDir()
|
def
|
getOutputType()
|
FileCollection
|
getSource()
The source object files to be passed to the linker. |
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
ToolChain toolChain
Constructor Detail |
---|
@Inject AbstractLinkTask()
Method Detail |
---|
protected LinkerSpec createLinkerSpec()
@OutputDirectory File getDestinationDir()
@Input def getOutputType()
@InputFiles @SkipWhenEmpty // Can't use field due to GRADLE-2026 FileCollection getSource()
void lib(Object libs)
@TaskAction void link()
void source(Object source)
Gradle API 1.8