# DependencySpec

@Incubating
interface DependencySpec(source)

### 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.

#### Inheritors

ProjectDependencySpec
LibraryBinaryDependencySpec
ModuleDependencySpec

## Functions

getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
The human friendly name of this dependency.