api / org.gradle.api.artifacts.component / ModuleComponentIdentifier

ModuleComponentIdentifier

@Incubating interface ModuleComponentIdentifier : ComponentIdentifier

An identifier for a component instance which is available as a module version.

Since
1.10

Functions

getGroup

abstract fun getGroup(): String

The module group of the component.

getModule

abstract fun getModule(): String

The module name of the component.

getModuleIdentifier

abstract fun getModuleIdentifier(): ModuleIdentifier

The module identifier of the component. Returns the same information as #getGroup() and #getModule().

getVersion

abstract fun getVersion(): String

The module version of the component.

Inherited Functions

getDisplayName

abstract fun getDisplayName(): String

Returns a human-consumable display name for this identifier.