A BuildResult
packages up the results of a build executed by a org.gradle.initialization.GradleLauncher instance.
Constructor and description |
---|
BuildResult
(Gradle gradle, Throwable failure) |
BuildResult
(String action, Gradle gradle, Throwable failure) |
Type | Name and description |
---|---|
String |
getAction() The action performed by this build. |
Throwable |
getFailure() |
Gradle |
getGradle() |
BuildResult |
rethrowFailure() |
The action performed by this build. Either `Build` or `Configure`.
Rethrows the build failure. Does nothing if there was no build failure.