public interface JavaNativeInterfaceLibrary extends JniLibraryExtension, DependencyAwareComponent<JavaNativeInterfaceLibraryComponentDependencies>, VariantAwareComponent<JniLibrary>, BinaryAwareComponent, TargetMachineAwareComponent, SourceAwareComponent<JavaNativeInterfaceLibrarySources>, BaseNameAwareComponent
An instance of this type is added as a project extension by the JNI Library Plugin.
| Modifier and Type | Method and Description |
|---|---|
default JavaNativeInterfaceLibraryComponentDependencies |
getDependencies()
Returns the dependencies of this component.
|
default SetProperty<TargetMachine> |
getTargetMachines()
Specifies the target machines this component should be built for.
|
dependencies, dependenciesgetVariantsgetBinariesgetMachinesgetSources, sources, sourcesgetBaseNamedefault JavaNativeInterfaceLibraryComponentDependencies getDependencies()
getDependencies in interface DependencyAwareComponent<JavaNativeInterfaceLibraryComponentDependencies>getDependencies in interface JniLibraryExtensionJavaNativeInterfaceLibraryComponentDependencies, never null.default SetProperty<TargetMachine> getTargetMachines()
TargetMachineFactory) can be used to construct common operating system and architecture combinations.
For example:
targetMachines = [machines.linux.x86_64, machines.windows.x86_64]
getTargetMachines in interface JniLibraryExtensiongetTargetMachines in interface TargetMachineAwareComponentTargetMachine, never null.