Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Reporting<BuildDashboardReports>
, Task
, org.gradle.util.Configurable<Task>
public class GenerateBuildDashboard extends DefaultTask implements Reporting<BuildDashboardReports>
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
GenerateBuildDashboard() |
Modifier and Type | Method | Description |
---|---|---|
void |
aggregate(Reporting<? extends ReportContainer<?>>... reportings) |
Configures which reports are to be aggregated in the build dashboard report generated by this task.
|
protected org.gradle.api.internal.CollectionCallbackActionDecorator |
getCollectionCallbackActionDecorator() |
|
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.
|
BuildDashboardReports |
reports(Action<? super BuildDashboardReports> configureAction) |
Configures the reports to be generated by this task.
|
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@Inject protected org.gradle.internal.reflect.Instantiator getInstantiator()
@Inject protected org.gradle.api.internal.CollectionCallbackActionDecorator getCollectionCallbackActionDecorator()
@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 configurationpublic BuildDashboardReports reports(Action<? super BuildDashboardReports> configureAction)
buildDashboard { reports { html { destination "build/dashboard.html" } } }
reports
in interface Reporting<BuildDashboardReports>
configureAction
- The configuration