JniLibrary
API Documentation: JniLibrary
Configuration for a specific Java Native Interface (JNI) library variant, defining the dependencies that make up the library plus other settings.
Properties
Property | Description |
---|---|
The binaries for this component. |
|
The dependencies of this component. |
|
Specifies the resource path where the native components of the JNI library will be located within the JAR. |
|
The shared library binary built for this variant. |
|
The target machine for this variant. |
Methods
Method | Description |
---|---|
|
Configure the shared library binary for this variant. |
|
Configure the shared library binary for this variant. |
|
Configure the dependencies of this component. |
|
Configure the dependencies of this component. |
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.