api / org.gradle.api.artifacts / DependencyMetadata / getGroup

getGroup

abstract fun getGroup(): String

Returns the group of the module that is targeted by this dependency or dependency constraint. The group allows the definition of modules of the same name in different organizations or contexts.