GenerateBuildDashboard

產生建置儀表板報告。

屬性

屬性說明
reports

此任務要產生的報告。

方法

方法說明
aggregate(reportings)

設定要在此任務產生的建置儀表板報告中彙總哪些報告。

reports(configureAction)

設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。

Script 區塊

區塊說明
reports

設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。

屬性詳細資訊

BuildDashboardReports reports (唯讀)

此任務要產生的報告。

方法詳細資訊

void aggregate(Reporting<? extends ReportContainer<?>>... reportings)

設定要在此任務產生的建置儀表板報告中彙總哪些報告。

buildDashboard {
  aggregate codenarcMain, checkstyleMain
}

BuildDashboardReports reports(Action<? super BuildDashboardReports> configureAction)

設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。

buildDashboard {
  reports {
    html {
      destination "build/dashboard.html"
    }
  }
}

Script 區塊詳細資訊

reports { }

設定此任務要產生的報告。 包含的報告可以依名稱和 Closure 進行設定。

buildDashboard {
  reports {
    html {
      destination "build/dashboard.html"
    }
  }
}