ModuleDependencySpecBuilder (Gradle API 2.14.1)

Package: org.gradle.platform.base

## [Java] Interface ModuleDependencySpecBuilder

- org.gradle.platform.base.DependencySpecBuilder

- All Superinterfaces:
    DependencySpecBuilder

  A builder of a ModuleDependencySpec.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `ModuleDependencySpecBuilder` | `group(String name)` Narrows this dependency specification down to a specific group.
    `ModuleDependencySpecBuilder` | `module(String name)` Narrows this dependency specification down to a specific module.
    `ModuleDependencySpecBuilder` | `version(String range)` Narrows this dependency specification down to a specific version range.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DependencySpecBuilder` | `build`

- - ### Method Detail

    - #### public ModuleDependencySpecBuilder group(String name)

      Narrows this dependency specification down to a specific group.

      Parameters:
        `name` - the group name
      Returns:
        this instance

    - #### public ModuleDependencySpecBuilder module(String name)

      Narrows this dependency specification down to a specific module.

      Parameters:
        `name` - the module name
      Returns:
        this instance

    - #### public ModuleDependencySpecBuilder version(String range)

      Narrows this dependency specification down to a specific version range.

      Parameters:
        `range` - the version range
      Returns:
        this instance