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, dependencies
getVariants
getBinaries
getMachines
getSources, sources, sources
getBaseName
default JavaNativeInterfaceLibraryComponentDependencies getDependencies()
getDependencies
in interface DependencyAwareComponent<JavaNativeInterfaceLibraryComponentDependencies>
getDependencies
in interface JniLibraryExtension
JavaNativeInterfaceLibraryComponentDependencies
, 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 JniLibraryExtension
getTargetMachines
in interface TargetMachineAwareComponent
TargetMachine
, never null.