API 文件 | GenerateBuildDashboard |
---|
產生建置儀表板報告。
屬性 | 說明 |
reports | 此任務要產生的報告。 |
區塊 | 說明 |
reports | 設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。 |
BuildDashboardReports
reports
(唯讀)
此任務要產生的報告。
void
aggregate
(Reporting
<? extends ReportContainer
<?>>...
reportings)
Reporting
<? extends ReportContainer
<?>>...設定要在此任務產生的建置儀表板報告中彙總哪些報告。
buildDashboard { aggregate codenarcMain, checkstyleMain }
BuildDashboardReports
reports
(Action
<? super BuildDashboardReports
>
configureAction)
Action
<? super BuildDashboardReports
>設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。
buildDashboard {
reports {
html {
destination "build/dashboard.html"
}
}
}
設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。
buildDashboard {
reports {
html {
destination "build/dashboard.html"
}
}
}