public class BuildResult extends Object
A BuildResult packages up the results of a build executed by a GradleLauncher instance.
| Constructor and Description |
|---|
BuildResult(Gradle gradle,
Throwable failure) |
public Gradle getGradle()
public Throwable getFailure()
public BuildResult rethrowFailure()
Rethrows the build failure. Does nothing if there was no build failure.