JavaNativeInterfaceLibrary
API Documentation: JavaNativeInterfaceLibrary
Configuration for a Java Native Interface (JNI) library, defining the dependencies that make up the library plus other settings.
An instance of this type is added as a project extension by the JNI Library Plugin.
Properties
Property | Description |
---|---|
The binaries for this component. |
|
The dependencies of this component. |
|
Specifies the target machines this component should be built for. The "machines" extension property (see ) can be used to construct common operating system and architecture combinations. |
|
Configure the variants of this component. |
Methods
Method | Description |
---|---|
|
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.