public interface JavaNativeInterfaceNativeComponentDependencies extends ComponentDependencies, JniLibraryNativeDependencies
Modifier and Type | Method and Description |
---|---|
DependencyBucket |
getNativeImplementation()
Returns the native implementation bucket of dependencies for this component.
|
DependencyBucket |
getNativeLinkOnly()
Returns the native link only bucket of dependencies for this component.
|
DependencyBucket |
getNativeRuntimeOnly()
Returns the native runtime only bucket of dependencies for this component.
|
void |
nativeImplementation(Object notation)
Adds an native implementation dependency to this component.
|
void |
nativeImplementation(Object notation,
Action<? super ModuleDependency> action)
Adds an native implementation dependency to this component.
|
default void |
nativeImplementation(Object notation,
groovy.lang.Closure<Void> closure)
Adds an native implementation dependency to this component.
|
void |
nativeLinkOnly(Object notation)
Adds an native link only dependency to this component.
|
void |
nativeLinkOnly(Object notation,
Action<? super ModuleDependency> action)
Adds an native link only dependency to this component.
|
default void |
nativeLinkOnly(Object notation,
groovy.lang.Closure<Void> closure)
Adds an native link only dependency to this component.
|
void |
nativeRuntimeOnly(Object notation)
Adds an native runtime only dependency to this component.
|
void |
nativeRuntimeOnly(Object notation,
Action<? super ModuleDependency> action)
Adds an native runtime only dependency to this component.
|
default void |
nativeRuntimeOnly(Object notation,
groovy.lang.Closure<Void> closure)
Adds an native runtime only dependency to this component.
|
void nativeImplementation(Object notation)
nativeImplementation
in interface JniLibraryNativeDependencies
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeImplementation(Object notation, Action<? super ModuleDependency> action)
nativeImplementation
in interface JniLibraryNativeDependencies
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
).default void nativeImplementation(Object notation, @DelegatesTo(value=org.gradle.api.artifacts.ModuleDependency.class,strategy=1) groovy.lang.Closure<Void> closure)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.closure
- The closure to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).void nativeLinkOnly(Object notation)
nativeLinkOnly
in interface JniLibraryNativeDependencies
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeLinkOnly(Object notation, Action<? super ModuleDependency> action)
nativeLinkOnly
in interface JniLibraryNativeDependencies
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
).default void nativeLinkOnly(Object notation, @DelegatesTo(value=org.gradle.api.artifacts.ModuleDependency.class,strategy=1) groovy.lang.Closure<Void> closure)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.closure
- The closure to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).void nativeRuntimeOnly(Object notation)
nativeRuntimeOnly
in interface JniLibraryNativeDependencies
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void nativeRuntimeOnly(Object notation, Action<? super ModuleDependency> action)
nativeRuntimeOnly
in interface JniLibraryNativeDependencies
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
).default void nativeRuntimeOnly(Object notation, @DelegatesTo(value=org.gradle.api.artifacts.ModuleDependency.class,strategy=1) groovy.lang.Closure<Void> closure)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.closure
- The closure to run to configure the dependency (project dependencies are ProjectDependency
and external dependencies are ExternalModuleDependency
).DependencyBucket getNativeImplementation()
DependencyBucket
representing the native implementation bucket of dependencies, never null.DependencyBucket getNativeRuntimeOnly()
DependencyBucket
representing the native runtime only implementation bucket of dependencies, never null.DependencyBucket getNativeLinkOnly()
DependencyBucket
representing the native link only implementation bucket of dependencies, never null.