Search in sources :

Example 1 with BuildDashboardGenerator

use of org.gradle.api.reporting.internal.BuildDashboardGenerator in project gradle by gradle.

the class GenerateBuildDashboard method run.

@TaskAction
void run() {
    if (getReports().getHtml().isEnabled()) {
        BuildDashboardGenerator generator = new BuildDashboardGenerator();
        generator.render(getEnabledInputReports(), reports.getHtml().getEntryPoint());
    } else {
        setDidWork(false);
    }
}
Also used : BuildDashboardGenerator(org.gradle.api.reporting.internal.BuildDashboardGenerator) TaskAction(org.gradle.api.tasks.TaskAction)

Aggregations

BuildDashboardGenerator (org.gradle.api.reporting.internal.BuildDashboardGenerator)1 TaskAction (org.gradle.api.tasks.TaskAction)1