@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() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Reporting<? extends ReportContainer<?>>... reportings)
Configures which reports are to be aggregated in the build dashboard report generated by this task.
|
Set<org.gradle.api.reporting.GenerateBuildDashboard.ReportState> |
getInputReports() |
protected org.gradle.internal.reflect.Instantiator |
getInstantiator() |
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, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
@Input public Set<org.gradle.api.reporting.GenerateBuildDashboard.ReportState> getInputReports()
public void aggregate(Reporting<? extends ReportContainer<?>>... 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