# Interface DependencySpec

All Known Subinterfaces:
  `LibraryBinaryDependencySpec, ModuleDependencySpec, ProjectDependencySpec`

@Incubating @Deprecated public interface 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 Gradle component.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDisplayName()`
  Deprecated.
  The human friendly name of this dependency.

- ## Method Details

  - ### getDisplayName

    String getDisplayName()
    Deprecated.
    The human friendly name of this dependency.
    Returns:
      human friendly name