Class GenerateBuildDashboard

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.Task

        Task.Namer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      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.
      • Methods inherited from class org.gradle.api.internal.AbstractTask

        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, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
    • Constructor Detail

      • GenerateBuildDashboard

        public GenerateBuildDashboard()
    • Method Detail

      • getInstantiator

        @Inject
        protected org.gradle.internal.reflect.Instantiator getInstantiator()
      • getInputReports

        @Input
        public Set<org.gradle.api.reporting.GenerateBuildDashboard.ReportState> getInputReports()
      • aggregate

        public void aggregate​(Reporting<? extends ReportContainer<?>>... reportings)
        Configures which reports are to be aggregated in the build dashboard report generated by this task.
         buildDashboard {
           aggregate codenarcMain, checkstyleMain
         }
         
        Parameters:
        reportings - an array of Reporting instances that are to be aggregated
      • reports

        public BuildDashboardReports reports​(Closure closure)
        Configures the reports to be generated by this task. The contained reports can be configured by name and closures.
         buildDashboard {
           reports {
             html {
               destination "build/dashboard.html"
             }
           }
         }
         
        Specified by:
        reports in interface Reporting<BuildDashboardReports>
        Parameters:
        closure - The configuration
        Returns:
        The reports container
      • reports

        public BuildDashboardReports reports​(Action<? super BuildDashboardReports> configureAction)
        Configures the reports to be generated by this task. The contained reports can be configured by name and closures.
         buildDashboard {
           reports {
             html {
               destination "build/dashboard.html"
             }
           }
         }
         
        Specified by:
        reports in interface Reporting<BuildDashboardReports>
        Parameters:
        configureAction - The configuration
        Returns:
        The reports container