api / org.gradle.api.artifacts.component / ProjectComponentIdentifier / getBuild

getBuild

abstract fun getBuild(): BuildIdentifier

Identifies the build that contains the project that produces this component.

Return
The build identifier