# BuildResult

open class BuildResult(source)

A `BuildResult` packages up the result of a build.

#### Since

0.7

## Constructors

BuildResult
Link copied to clipboard
constructor(@Nullable gradle: @Nullable Gradle, @Nullable failure: @Nullable Throwable)
Creates a new `BuildResult`.
constructor(action: String, @Nullable gradle: @Nullable Gradle, @Nullable failure: @Nullable Throwable)
Creates a new `BuildResult`.

## Properties

action
Link copied to clipboard
val action: String
failure
Link copied to clipboard
@get: Nullable
val failure: Throwable
gradle
Link copied to clipboard
@get: Nullable
val gradle: Gradle

## Functions

rethrowFailure
Link copied to clipboard
open fun rethrowFailure(): BuildResult
Rethrows the build failure.