public class BuildExceptionReporter extends BuildAdapter implements Action<Throwable>
BuildListener
which reports the build exception, if any.Constructor and Description |
---|
BuildExceptionReporter(org.gradle.logging.StyledTextOutputFactory textOutputFactory,
org.gradle.logging.LoggingConfiguration loggingConfiguration,
org.gradle.initialization.BuildClientMetaData clientMetaData) |
Modifier and Type | Method and Description |
---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed.
|
void |
execute(Throwable failure)
Performs this action against the given object.
|
buildStarted, projectsEvaluated, projectsLoaded, settingsEvaluated
public BuildExceptionReporter(org.gradle.logging.StyledTextOutputFactory textOutputFactory, org.gradle.logging.LoggingConfiguration loggingConfiguration, org.gradle.initialization.BuildClientMetaData clientMetaData)
public void buildFinished(BuildResult result)
BuildListener
Called when the build is completed. All selected tasks have been executed.
buildFinished
in interface BuildListener
buildFinished
in class BuildAdapter
result
- The result of the build. Never null.