API Documentation: LinkSharedLibrary

Links a shared library binary from object files and imported libraries.

Properties

Property Description

linkedFile

The location of the linked binary.

linkerArgs

Additional arguments to provide to the linker.

It act as an escape hatch to the current model. Please open an issue on https://github.com/nokeedev/gradle-native with your reason for using this hatch so we can improve the model.

toolChain

The tool chain used for the compilation.

Methods

No methods.

Property Details

Provider<RegularFile> linkedFile (read-only)

The location of the linked binary.

ListProperty<String> linkerArgs

Additional arguments to provide to the linker.

It act as an escape hatch to the current model. Please open an issue on https://github.com/nokeedev/gradle-native with your reason for using this hatch so we can improve the model.

Provider<NativeToolChain> toolChain (read-only)

The tool chain used for the compilation.

Method Details

void sharedLibrary(Closure<Void> closure)

Configure the shared library binary for this variant.

void sharedLibrary(Action<? super SharedLibraryBinary> action)

Configure the shared library binary for this variant.

void dependencies(Action<? super T> action)

Configure the dependencies of this component.

void dependencies(Closure<Void> closure)

Configure the dependencies of this component.