@Incubating public interface DependencySubstitution
Modifier and Type | Method and Description |
---|---|
ComponentSelector |
getRequested()
The requested dependency, before it is resolved.
|
void |
useTarget(Object notation)
This method can be used to replace a dependency before it is resolved,
e.g.
|
ComponentSelector getRequested()
void useTarget(Object notation)
project(":api")
ModuleComponentSelector
or ProjectComponentSelector
notation
- the notation that gets parsed into an instance of ComponentSelector
.