T
- type of the dependency metadata in this collectionCollection<T>
, Iterable<T>
DependencyConstraintsMetadata
, DirectDependenciesMetadata
@Incubating public interface DependenciesMetadata<T extends DependencyMetadata> extends Collection<T>
Modifier and Type | Method | Description |
---|---|---|
void |
add(String dependencyNotation) |
Add a dependency or a dependency constraint using the string notation:
group:name:version . |
void |
add(String dependencyNotation,
Action<? super T> configureAction) |
Add a dependency or a dependency constraint using the string notation:
group:name:version . |
void |
add(Map<String,String> dependencyNotation) |
Add a dependency or a dependency constraint using the map notation:
group: group, name: name, version: version . |
void |
add(Map<String,String> dependencyNotation,
Action<? super T> configureAction) |
Add a dependency or a dependency constraint using the map notation:
group: group, name: name, version: version . |
void add(String dependencyNotation)
group:name:version
.dependencyNotation
- the dependencyvoid add(Map<String,String> dependencyNotation)
group: group, name: name, version: version
.dependencyNotation
- the dependencyvoid add(String dependencyNotation, Action<? super T> configureAction)
group:name:version
.dependencyNotation
- the dependencyconfigureAction
- action to configure details of the dependency - see DependencyMetadata
void add(Map<String,String> dependencyNotation, Action<? super T> configureAction)
group: group, name: name, version: version
.dependencyNotation
- the dependencyconfigureAction
- action to configure details of the dependency - see DependencyMetadata