api / org.gradle.api.artifacts / Dependency / getGroup

getGroup

abstract fun getGroup(): String

Returns the group of this dependency. The group is often required to find the artifacts of a dependency in a repository. For example, the group name corresponds to a directory name in a Maven like repository. Might return null.