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 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?