Package org.gradle.platform.base
Interface DependencySpecContainer
A container for dependency specifications.
- 
Method SummaryModifier and TypeMethodDescriptionReturns an immutable view of dependencies stored in this container.Defines a new module dependency, based on a module group name.booleanisEmpty()Returns true if this container doesn't hold any dependency.Defines a new dependency, based on a library name.Defines a new module dependency, based on a module id or a simple name.Defines a new dependency, based on a project path.
- 
Method Details- 
projectDefines a new dependency, based on a project path. The returned dependency can be mutated.- Parameters:
- path- the project path
- Returns:
- a mutable dependency, added to this container
 
- 
libraryDefines a new dependency, based on a library name. The returned dependency can be mutated.- Parameters:
- name- of the library
- Returns:
- a mutable dependency, added to this container
 
- 
moduleDefines a new module dependency, based on a module id or a simple name. The returned dependency can be mutated.- Parameters:
- moduleIdOrName- of the module
- Returns:
- a mutable module dependency, added to this container
 
- 
groupDefines a new module dependency, based on a module group name. The returned dependency can be mutated.- Parameters:
- name- of the module group
- Returns:
- a mutable module dependency, added to this container
 
- 
getDependenciesCollection<DependencySpec> getDependencies()Returns an immutable view of dependencies stored in this container.- Returns:
- an immutable view of dependencies. Each dependency in the collection is itself immutable.
 
- 
isEmptyboolean isEmpty()Returns true if this container doesn't hold any dependency.- Returns:
- true if this container doesn't contain any dependency specification.
 
 
-