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

getVersion

abstract fun getVersion(): String

The module version of the component.

Return
Component version

Since
1.10