Package org.gradle.api.artifacts
Interface DependenciesMetadata<T extends DependencyMetadata>
- Type Parameters:
- T- type of the dependency metadata in this collection
- All Superinterfaces:
- Collection<T>,- Iterable<T>
- All Known Subinterfaces:
- DependencyConstraintsMetadata,- DirectDependenciesMetadata
Describes metadata about a dependency - direct dependencies or dependency constraints - declared in a resolved component's metadata.
- Since:
- 4.4
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdd a dependency or a dependency constraint using the string notation:group:name:version.voidAdd a dependency or a dependency constraint using the string notation:group:name:version.voidAdd a dependency or a dependency constraint using the map notation:group: group, name: name, version: version.voidAdd a dependency or a dependency constraint using the map notation:group: group, name: name, version: version.
- 
Method Details- 
addAdd a dependency or a dependency constraint using the string notation:group:name:version.- Parameters:
- dependencyNotation- the dependency
 
- 
addAdd a dependency or a dependency constraint using the map notation:group: group, name: name, version: version.- Parameters:
- dependencyNotation- the dependency
 
- 
addAdd a dependency or a dependency constraint using the string notation:group:name:version.- Parameters:
- dependencyNotation- the dependency
- configureAction- action to configure details of the dependency - see- DependencyMetadata
 
- 
addAdd a dependency or a dependency constraint using the map notation:group: group, name: name, version: version.- Parameters:
- dependencyNotation- the dependency
- configureAction- action to configure details of the dependency - see- DependencyMetadata
 
 
-