api / org.gradle.api.artifacts / ComponentMetadata / getId

getId

abstract fun getId(): ModuleVersionIdentifier

Returns the identifier of the component.

Return
the identifier of the component.