Groovy Documentation

org.gradle.api.reporting
[Java] Class GenerateBuildDashboard

java.lang.Object
  org.gradle.api.internal.AbstractTask
      org.gradle.api.DefaultTask
          org.gradle.api.reporting.GenerateBuildDashboard
All Implemented Interfaces:
Reporting

@Incubating
public class GenerateBuildDashboard
extends DefaultTask

Generates build dashboard report.


Constructor Summary
GenerateBuildDashboard(Instantiator instantiator)

 
Method Summary
void aggregate(Reporting... reportings)

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

Set getInputReportsFiles()

A set of report files that will be aggregated by the generated report.

BuildDashboardReports getReports()

The reports to be generated by this task.

BuildDashboardReports reports(Closure closure)

Configures the reports to be generated by this task.

 

Constructor Detail

GenerateBuildDashboard

@Inject
public GenerateBuildDashboard(Instantiator instantiator)


 
Method Detail

aggregate

public void aggregate(Reporting... reportings)
Configures which reportings are to be aggregated in the build dashboard report generated by this task.
 buildDashboard {
   aggregate codenarcMain, checkstyleMain
 }
 
Parameters:
reportings - an array of Reporting instances that are to be aggregated


getInputReportsFiles

@Input
public Set getInputReportsFiles()
A set of report files that will be aggregated by the generated report.
Returns:
A set of input report files.


getReports

public BuildDashboardReports getReports()
The reports to be generated by this task.
Returns:
The reports container


reports

public BuildDashboardReports reports(Closure closure)
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
Returns:
The reports container


 

Gradle API 1.5-rc-3