public interface JavaNativeInterfaceLibraryComponentDependencies extends JavaNativeInterfaceNativeComponentDependencies, ComponentDependencies, JniLibraryDependencies
| Modifier and Type | Method and Description |
|---|---|
void |
api(Object notation)
Adds an JVM API dependency to this library.
|
void |
api(Object notation,
Action<? super ModuleDependency> action)
Adds an JVM API dependency to this library.
|
default void |
api(Object notation,
groovy.lang.Closure<Void> closure)
Adds an JVM API dependency to this library.
|
DependencyBucket |
getApi()
Returns the api bucket of dependencies for this component.
|
DependencyBucket |
getJvmImplementation()
Returns the JVM implementation bucket of dependencies for this component.
|
DependencyBucket |
getJvmRuntimeOnly()
Returns the JVM runtime only bucket of dependencies for this component.
|
void |
jvmImplementation(Object notation)
Adds an JVM implementation dependency to this library.
|
void |
jvmImplementation(Object notation,
Action<? super ModuleDependency> action)
Adds an JVM implementation dependency to this library.
|
default void |
jvmImplementation(Object notation,
groovy.lang.Closure<Void> closure)
Adds an JVM implementation dependency to this library.
|
void |
jvmRuntimeOnly(Object notation)
Adds an JVM runtime only dependency to this library.
|
void |
jvmRuntimeOnly(Object notation,
Action<? super ModuleDependency> action)
Adds an JVM runtime only dependency to this library.
|
default void |
jvmRuntimeOnly(Object notation,
groovy.lang.Closure<Void> closure)
Adds an JVM runtime only dependency to this library.
|
getNativeImplementation, getNativeLinkOnly, getNativeRuntimeOnly, nativeImplementation, nativeImplementation, nativeImplementation, nativeLinkOnly, nativeLinkOnly, nativeLinkOnly, nativeRuntimeOnly, nativeRuntimeOnly, nativeRuntimeOnlynativeImplementation, nativeImplementation, nativeLinkOnly, nativeLinkOnly, nativeRuntimeOnly, nativeRuntimeOnlyvoid api(Object notation)
api in interface JniLibraryDependenciesnotation - The dependency notation, as per DependencyHandler.create(Object).void api(Object notation, Action<? super ModuleDependency> action)
api in interface JniLibraryDependenciesnotation - 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 api(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 jvmImplementation(Object notation)
jvmImplementation in interface JniLibraryDependenciesnotation - The dependency notation, as per DependencyHandler.create(Object).void jvmImplementation(Object notation, Action<? super ModuleDependency> action)
jvmImplementation in interface JniLibraryDependenciesnotation - 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 jvmImplementation(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 jvmRuntimeOnly(Object notation)
jvmRuntimeOnly in interface JniLibraryDependenciesnotation - The dependency notation, as per DependencyHandler.create(Object).void jvmRuntimeOnly(Object notation, Action<? super ModuleDependency> action)
jvmRuntimeOnly in interface JniLibraryDependenciesnotation - 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 jvmRuntimeOnly(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 getJvmRuntimeOnly()
DependencyBucket representing the JVM runtime only implementation bucket of dependencies, never null.DependencyBucket getJvmImplementation()
DependencyBucket representing the JVM implementation bucket of dependencies, never null.DependencyBucket getApi()
DependencyBucket representing the api bucket of dependencies, never null.