@Deprecated public interface NativeLibraryDependencies extends NativeComponentDependencies, ComponentDependencies
Modifier and Type | Method and Description |
---|---|
void |
api(Object notation)
Deprecated.
Adds an API dependency to this library.
|
void |
api(Object notation,
Action<? super ModuleDependency> action)
Deprecated.
Adds an API dependency to this library.
|
default void |
api(Object notation,
groovy.lang.Closure<Void> closure)
Deprecated.
Adds an API dependency to this library.
|
compileOnly, compileOnly, compileOnly, getCompileOnly, getImplementation, getLinkOnly, getRuntimeOnly, implementation, implementation, implementation, linkOnly, linkOnly, linkOnly, runtimeOnly, runtimeOnly, runtimeOnly
void api(Object notation)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void api(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
).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
).