api / org.gradle.api.artifacts.repositories / ArtifactRepository / getName

getName

abstract fun getName(): String

Returns the name for this repository. A name must be unique amongst a repository set. A default name is provided for the repository if none is provided.

The name is used in logging output and error reporting to point to information related to this repository.

Return
The name.