# Interface ModuleDependencySpecBuilder

All Superinterfaces:
  `DependencySpecBuilder`

@Incubating @Deprecated public interface ModuleDependencySpecBuilder extends 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`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ModuleDependencySpecBuilder`
  `group(String name)`
  Deprecated.
  Narrows this dependency specification down to a specific group.
  `ModuleDependencySpecBuilder`
  `module(String name)`
  Deprecated.
  Narrows this dependency specification down to a specific module.
  `ModuleDependencySpecBuilder`
  `version(String range)`
  Deprecated.
  Narrows this dependency specification down to a specific version range.

  ### Methods inherited from interface DependencySpecBuilder

  `build`

- ## Method Details

  - ### module

    ModuleDependencySpecBuilder module(String name)
    Deprecated.
    Narrows this dependency specification down to a specific module.
    Parameters:
      `name` - the module name
    Returns:
      this instance

  - ### group

    ModuleDependencySpecBuilder group(String name)
    Deprecated.
    Narrows this dependency specification down to a specific group.
    Parameters:
      `name` - the group name
    Returns:
      this instance

  - ### version

    ModuleDependencySpecBuilder version(String range)
    Deprecated.
    Narrows this dependency specification down to a specific version range.
    Parameters:
      `range` - the version range
    Returns:
      this instance