public interface JniLibraryExtension
An instance of this type is added as a project extension by the JNI Library Plugin.
| Modifier and Type | Method and Description |
|---|---|
void |
dependencies(org.gradle.api.Action<? super JniLibraryDependencies> action)
Configure the dependencies of this component.
|
JniLibraryDependencies |
getDependencies()
Returns the dependencies of this component.
|
org.gradle.api.provider.SetProperty<TargetMachine> |
getTargetMachines()
Specifies the target machines this component should be built for.
|
JniLibraryDependencies getDependencies()
JniLibraryDependencies, never null.void dependencies(org.gradle.api.Action<? super JniLibraryDependencies> action)
action - configuration action for JniLibraryDependencies.org.gradle.api.provider.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]
TargetMachine.