AbstractLinkTask

API Documentation:AbstractLinkTask

Note: This class is incubating and may change in a future version of Gradle.

Base task for linking a native binary from object files and libraries.

Properties

PropertyDescription
debuggable
Incubating

Create a debuggable binary?

libs
Incubating

The library files to be passed to the linker.

linkedFile
Incubating

The file where the linked binary will be located.

linkerArgs
Incubating

Additional arguments passed to the linker.

source
Incubating

The source object files to be passed to the linker.

targetPlatform
Incubating

The platform being linked for.

toolChain
Incubating

The tool chain used for linking.

Methods

MethodDescription
lib(libs)
Incubating

Adds a set of library files to be linked. The provided libs object is evaluated as per Project.files(java.lang.Object[]).

source(source)
Incubating

Adds a set of object files to be linked. The provided source object is evaluated as per Project.files(java.lang.Object[]).

Script blocks

No script blocks

Property details

Property<Boolean> debuggable

Note: This property is incubating and may change in a future version of Gradle.

Create a debuggable binary?

Note: This property is incubating and may change in a future version of Gradle.

The library files to be passed to the linker.

Note: This property is incubating and may change in a future version of Gradle.

The file where the linked binary will be located.

ListProperty<String> linkerArgs

Note: This property is incubating and may change in a future version of Gradle.

Additional arguments passed to the linker.

Note: This property is incubating and may change in a future version of Gradle.

The source object files to be passed to the linker.

Property<NativePlatform> targetPlatform

Note: This property is incubating and may change in a future version of Gradle.

The platform being linked for.

Note: This property is incubating and may change in a future version of Gradle.

The tool chain used for linking.

Method details

void lib(Object libs)

Note: This method is incubating and may change in a future version of Gradle.

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)

Note: This method is incubating and may change in a future version of Gradle.

Adds a set of object files to be linked. The provided source object is evaluated as per Project.files(java.lang.Object[]).