api / org.gradle.api.artifacts / DependencyMetadata / getName

getName

abstract fun getName(): String

Returns the name of the module that is targeted by this dependency or dependency constraint.