api / org.gradle.api.artifacts.component / BuildIdentifier

BuildIdentifier

@Incubating interface BuildIdentifier

Identifies a Gradle build. The identifier is unique within a Gradle invocation, so for example, each included build will have a different identifier.

Functions

getName

abstract fun getName(): String

The name of the build.

isCurrentBuild

abstract fun isCurrentBuild(): Boolean

Is this build the one that's currently executing?