ModuleDependencySpec (Gradle API 9.7.1)
Description: declaration: package: org.gradle.platform.base, interface: ModuleDependencySpec

# Interface ModuleDependencySpec

All Superinterfaces:
  `DependencySpec`

@Incubating @Deprecated public interface ModuleDependencySpec extends DependencySpec
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 dependency onto a module.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getGroup()`
  Deprecated.
  The group of the module this dependency specification refers to.
  `String`
  `getName()`
  Deprecated.
  The name of the module this dependency specification refers to.
  `@Nullable String`
  `getVersion()`
  Deprecated.
  The version range of the module this dependency specification refers to.

  ### Methods inherited from interface DependencySpec

  `getDisplayName`

- ## Method Details

  - ### getGroup

    String getGroup()
    Deprecated.
    The group of the module this dependency specification refers to.
    Returns:
      the module group name

  - ### getName

    String getName()
    Deprecated.
    The name of the module this dependency specification refers to.
    Returns:
      the module name

  - ### getVersion

    @Nullable String getVersion()
    Deprecated.
    The version range of the module this dependency specification refers to.
    Returns:
      the module version range