@Incubating 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 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(Action<? super BuildDashboardReports> configureAction)
Configures the reports to be generated by this task.
|
BuildDashboardReports |
reports(Closure closure)
Configures the reports to be generated by this task.
|
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, 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 configurationpublic BuildDashboardReports reports(Action<? super BuildDashboardReports> configureAction)
buildDashboard { reports { html { destination "build/dashboard.html" } } }
reports
in interface Reporting<BuildDashboardReports>
configureAction
- The configuration