api / org.gradle.tooling.model.gradle / GradlePublication / getId

getId

abstract fun getId(): GradleModuleVersion

Returns the unique identifier of the publication.

Return
the unique identifier of the publication