# DependencySpecContainer

@Incubating
interface DependencySpecContainer

A container for dependency specifications.

## Functions

getDependencies
Link copied to clipboard
abstract fun getDependencies(): Collection<DependencySpec>
Returns an immutable view of dependencies stored in this container.
group
Link copied to clipboard
abstract fun group(name: String): ModuleDependencySpecBuilder
Defines a new module dependency, based on a module group name.
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
Returns true if this container doesn't hold any dependency.
library
Link copied to clipboard
abstract fun library(name: String): ProjectDependencySpecBuilder
Defines a new dependency, based on a library name.
module
Link copied to clipboard
abstract fun module(moduleIdOrName: String): ModuleDependencySpecBuilder
Defines a new module dependency, based on a module id or a simple name.
project
Link copied to clipboard
abstract fun project(path: String): ProjectDependencySpecBuilder
Defines a new dependency, based on a project path.