@Incubating public class GenerateBuildDashboard extends DefaultTask implements Reporting<BuildDashboardReports>
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GenerateBuildDashboard(org.gradle.internal.reflect.Instantiator instantiator) |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Reporting... reportings)
Configures which reportings are to be aggregated in the build dashboard report generated by this task.
|
Set<File> |
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.
|
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getStateInternal, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString
@Inject public GenerateBuildDashboard(org.gradle.internal.reflect.Instantiator instantiator)
@Input public Set<File> getInputReportsFiles()
public void aggregate(Reporting... reportings)
buildDashboard { aggregate codenarcMain, checkstyleMain }
reportings
- an array of Reporting
instances that are to be aggregatedpublic BuildDashboardReports getReports()
getReports
in interface Reporting<BuildDashboardReports>
public BuildDashboardReports reports(Closure closure)
buildDashboard { reports { html { destination "build/dashboard.html" } } }
reports
in interface Reporting<BuildDashboardReports>
closure
- The configuration