api / org.gradle.api.reporting / GenerateBuildDashboard

GenerateBuildDashboard

@Incubating open class GenerateBuildDashboard : DefaultTask, Reporting<BuildDashboardReports>

Generates build dashboard report.

Constructors

<init>

GenerateBuildDashboard()

Functions

aggregate

open fun aggregate(vararg reportings: Reporting<out ReportContainer<*>>): Unit

Configures which reports are to be aggregated in the build dashboard report generated by this task.

 buildDashboard { aggregate codenarcMain, checkstyleMain } 

getInputReports

open fun getInputReports(): MutableSet<ReportState>

getReports

open fun getReports(): BuildDashboardReports

The reports to be generated by this task.

reports

open fun reports(closure: Closure<Any>): BuildDashboardReports
open fun reports(configureAction: Action<in BuildDashboardReports>): BuildDashboardReports

Configures the reports to be generated by this task. The contained reports can be configured by name and closures.

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