public class BuildExceptionReporter extends BuildAdapter implements Action<Throwable>
BuildListener
which reports the build exception, if any.コンストラクタと説明 |
---|
BuildExceptionReporter(org.gradle.logging.StyledTextOutputFactory textOutputFactory,
org.gradle.logging.LoggingConfiguration loggingConfiguration,
org.gradle.initialization.BuildClientMetaData clientMetaData) |
修飾子とタイプ | メソッドと説明 |
---|---|
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
インタフェース内 BuildListener
buildFinished
クラス内 BuildAdapter
result
- The result of the build. Never null.