@Incubating public interface DependencySpecContainer
Modifier and Type | Method | Description |
---|---|---|
Collection<DependencySpec> |
getDependencies() |
Returns an immutable view of dependencies stored in this container.
|
ModuleDependencySpecBuilder |
group(String name) |
Defines a new module dependency, based on a module group name.
|
boolean |
isEmpty() |
Returns true if this container doesn't hold any dependency.
|
ProjectDependencySpecBuilder |
library(String name) |
Defines a new dependency, based on a library name.
|
ModuleDependencySpecBuilder |
module(String moduleIdOrName) |
Defines a new module dependency, based on a module id or a simple name.
|
ProjectDependencySpecBuilder |
project(String path) |
Defines a new dependency, based on a project path.
|
ProjectDependencySpecBuilder project(String path)
path
- the project pathProjectDependencySpecBuilder library(String name)
name
- of the libraryModuleDependencySpecBuilder module(String moduleIdOrName)
moduleIdOrName
- of the moduleModuleDependencySpecBuilder group(String name)
name
- of the module groupCollection<DependencySpec> getDependencies()
boolean isEmpty()