@Incubating public interface DependencySpecContainer
Modifier and Type | Method and Description |
---|---|
Collection<DependencySpec> |
getDependencies()
Returns an immutable view of dependencies stored in this container.
|
boolean |
isEmpty()
Returns true if this container doesn't hold any dependency.
|
DependencySpecBuilder |
library(String name)
Defines a new dependency, based on a library name.
|
DependencySpecBuilder |
project(String path)
Defines a new dependency, based on a project path.
|
DependencySpecBuilder project(String path)
path
- the project pathDependencySpecBuilder library(String name)
name
- of the libraryCollection<DependencySpec> getDependencies()
boolean isEmpty()