ComponentDependencies
@Incubating public interface LibraryDependencies extends ComponentDependencies
Modifier and Type | Method | Description |
---|---|---|
void |
api(Object notation) |
Adds an API dependency to this library.
|
void |
api(Object notation,
Action<? super ExternalModuleDependency> action) |
Adds an API dependency to this library.
|
implementation, implementation
void api(Object notation)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.void api(Object notation, Action<? super ExternalModuleDependency> action)
notation
- The dependency notation, as per DependencyHandler.create(Object)
.action
- The action to run to configure the dependency.