# DependencySpecBuilder

@Incubating
interface DependencySpecBuilder(source)

### Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.

A builder of a DependencySpec. Implementations are required to return immutable dependency specs.

#### Since

2.5

#### Inheritors

ModuleDependencySpecBuilder
ProjectDependencySpecBuilder

## Functions

build
Link copied to clipboard
abstract fun build(): DependencySpec
Builds a concrete immutable DependencySpec instance.