JavaNativeInterfaceNativeComponentDependencies
instead.@Deprecated public interface JniLibraryNativeDependencies extends ComponentDependencies
Modifier and Type | Method and Description |
---|---|
void |
nativeImplementation(Object notation)
Deprecated.
Adds an native implementation dependency to this component.
|
void |
nativeImplementation(Object notation,
Action<? super ModuleDependency> action)
Deprecated.
Adds an native implementation dependency to this component.
|
void |
nativeLinkOnly(Object notation)
Deprecated.
Adds an native link only dependency to this component.
|
void |
nativeLinkOnly(Object notation,
Action<? super ModuleDependency> action)
Deprecated.
Adds an native link only dependency to this component.
|
void |
nativeRuntimeOnly(Object notation)
Deprecated.
Adds an native runtime only dependency to this component.
|
void |
nativeRuntimeOnly(Object notation,
Action<? super ModuleDependency> action)
Deprecated.
Adds an native runtime only dependency to this component.
|
void nativeImplementation(Object notation)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeImplementation(Object notation, Action<? super ModuleDependency> action)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.action
- The action to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).void nativeLinkOnly(Object notation)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeLinkOnly(Object notation, Action<? super ModuleDependency> action)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.action
- The action to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).void nativeRuntimeOnly(Object notation)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeRuntimeOnly(Object notation, Action<? super ModuleDependency> action)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.action
- The action to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).