Table of Contents
| API Documentation: | AbstractLinkTask | 
|---|
| Known Subtypes: | 
 | 
|---|
Base task for linking a native binary from object files and libraries.
| Property | Description | 
| debuggable | Create a debuggable binary? | 
| libs | The library files to be passed to the linker. | 
| linkedFile | The file where the linked binary will be located. | 
| linkerArgs | Additional arguments passed to the linker. | 
| source | The source object files to be passed to the linker. | 
| targetPlatform | The platform being linked for. | 
| toolChain | The tool chain used for linking. | 
| Method | Description | 
| lib(libs) | Adds a set of library files to be linked. The provided libs object is evaluated as per  | 
| source(source) | Adds a set of object files to be linked. The provided source object is evaluated as per  | 
The library files to be passed to the linker.
RegularFileProperty linkedFile
The file where the linked binary will be located.
ListProperty<String>linkerArgs
ListProperty<String>Additional arguments passed to the linker.
ConfigurableFileCollection source
The source object files to be passed to the linker.
Property<NativePlatform>targetPlatform
Property<NativePlatform>The platform being linked for.
Property<NativeToolChain>toolChain
Property<NativeToolChain>The tool chain used for linking.
void lib(Object libs)
Adds a set of library files to be linked. The provided libs object is evaluated as per Project.files(java.lang.Object[]).
void source(Object source)
Adds a set of object files to be linked. The provided source object is evaluated as per Project.files(java.lang.Object[]).