private void renderMultipleBuildExceptions(MultipleBuildFailures multipleFailures) {
List<? extends Throwable> causes = multipleFailures.getCauses();
StyledTextOutput output = textOutputFactory.create(BuildExceptionReporter.class, LogLevel.ERROR);
output.println();
output.withStyle(Failure).format("FAILURE: Build completed with %s failures.", causes.size());
output.println();
for (int i = 0; i < causes.size(); i++) {
Throwable cause = causes.get(i);
FailureDetails details = constructFailureDetails("Task", cause);