api / org.gradle.api.artifacts / Dependency / getName

getName

abstract fun getName(): String

Returns the name of this dependency. The name is almost always required to find the artifacts of a dependency in a repository. Never returns null.