api / org.gradle.api.reporting / GenerateBuildDashboard / reports

reports

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

Overrides Reporting.reports

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" } } } 

Parameters

closure - The configuration

Return
The reports container

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

Overrides Reporting.reports

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" } } } 

Parameters

configureAction - The configuration

Return
The reports container