# ModuleDependencySpecBuilder

@Incubating
interface ModuleDependencySpecBuilder : DependencySpecBuilder

### 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 ModuleDependencySpec.

## Functions

build
Link copied to clipboard
abstract fun build(): DependencySpec
Builds a concrete immutable DependencySpec instance.
group
Link copied to clipboard
abstract fun group(name: String): ModuleDependencySpecBuilder
Narrows this dependency specification down to a specific group.
module
Link copied to clipboard
abstract fun module(name: String): ModuleDependencySpecBuilder
Narrows this dependency specification down to a specific module.
version
Link copied to clipboard
abstract fun version(range: String): ModuleDependencySpecBuilder
Narrows this dependency specification down to a specific version range.