@Deprecated public interface JniLibraryExtension extends DependencyAwareComponent<JavaNativeInterfaceLibraryComponentDependencies>, VariantAwareComponent<JniLibrary>, BinaryAwareComponent, TargetMachineAwareComponent, SourceAwareComponent<JavaNativeInterfaceLibrarySources>
An instance of this type is added as a project extension by the JNI Library Plugin.
Modifier and Type | Method and Description |
---|---|
JavaNativeInterfaceLibraryComponentDependencies |
getDependencies()
Deprecated.
Returns the dependencies of this component.
|
SetProperty<TargetMachine> |
getTargetMachines()
Deprecated.
Specifies the target machines this component should be built for.
|
dependencies, dependencies
getVariants
getBinaries
getMachines
getSources, sources, sources
JavaNativeInterfaceLibraryComponentDependencies getDependencies()
getDependencies
in interface DependencyAwareComponent<JavaNativeInterfaceLibraryComponentDependencies>
JavaNativeInterfaceLibraryComponentDependencies
, never null.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 TargetMachineAwareComponent
TargetMachine
, never null.