Package: org.gradle.platform.base

## [Java] Interface ModuleDependencySpec

- org.gradle.platform.base.ModuleDependencySpec

- All Superinterfaces:
    DependencySpec

  A dependency onto a module.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getGroup()` The group of the module this dependency specification refers to.
    `String` | `getName()` The name of the module this dependency specification refers to.
    `String` | `getVersion()` The version range of the module this dependency specification refers to.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DependencySpec` | `getDisplayName`

- - ### Method Detail

    - #### public String getGroup()

      The group of the module this dependency specification refers to.

      Returns:
        the module group name

    - #### public String getName()

      The name of the module this dependency specification refers to.

      Returns:
        the module name

    - #### @Nullable public String getVersion()

      The version range of the module this dependency specification refers to.

      Returns:
        the module version range