public class BuildResultLogger extends BuildAdapter
BuildListener
which logs the final result of the build.Constructor and Description |
---|
BuildResultLogger(org.gradle.logging.StyledTextOutputFactory textOutputFactory,
org.gradle.util.Clock buildTimeClock) |
Modifier and Type | Method and Description |
---|---|
void |
buildFinished(BuildResult result)
Called when the build is completed.
|
buildStarted, projectsEvaluated, projectsLoaded, settingsEvaluated
public BuildResultLogger(org.gradle.logging.StyledTextOutputFactory textOutputFactory, org.gradle.util.Clock buildTimeClock)
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.