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

#### Since

2.5

#### Inheritors

LibraryBinaryDependencySpec
ProjectDependencySpec
ModuleDependencySpec

## Functions

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