@Incubating abstract class AbstractLinkTask extends DefaultTask
| Type | Name and description |
|---|---|
FileCollection |
libsThe library files to be passed to the linker. |
List<String> |
linkerArgsAdditional arguments passed to the linker. |
File |
outputFileThe file where the linked binary will be located. |
FileCollection |
sourceThe source object files to be passed to the linker. |
NativePlatform |
targetPlatform |
NativeToolChain |
toolChainThe tool chain used for linking. |
| Constructor and description |
|---|
AbstractLinkTask
() |
| Type | Name and description |
|---|---|
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. |
The library files to be passed to the linker.
The file where the linked binary will be located.
The source object files to be passed to the linker.
The tool chain used for linking.
Adds a set of library files to be linked. The provided libs object is evaluated as per Project.files.
Adds a set of object files to be linked. The provided source object is evaluated as per Project.files.
Gradle API 2.2-20140924021627+0000