BuildIdentifier (Gradle API 8.11)

Package org.gradle.api.artifacts.component

## Interface BuildIdentifier

-     public 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.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getBuildPath()` | Absolute build path of the build within the Gradle invocation.
    `java.lang.String` | `getName()` | Deprecated. Use `getBuildPath()` instead.
    `boolean` | `isCurrentBuild()` | Deprecated. Compare `getBuildPath()` with the build path of the current build instead.

- - ### Method Detail

    - #### getBuildPath

          java.lang.String getBuildPath()

      Absolute build path of the build within the Gradle invocation.
      Since:
        8.2

    - #### getName

          @Deprecated
          java.lang.String getName()

      Deprecated.
      Use `getBuildPath()` instead.
      The name of the build.

    - #### isCurrentBuild

          @Deprecated
          boolean isCurrentBuild()

      Deprecated.
      Compare `getBuildPath()` with the build path of the current build instead.
      Is this build the one that's currently executing?