public interface DependencySubstitution
| Modifier and Type | Method | 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. | 
| void | useTarget(Object notation,
         String reason) | 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 ProjectComponentSelectornotation - the notation that gets parsed into an instance of ComponentSelector.@Incubating void useTarget(Object notation, String reason)
project(":api")ModuleComponentSelector or ProjectComponentSelectornotation - the notation that gets parsed into an instance of ComponentSelector.