Class GenerateBuildDashboard

    • Constructor Detail

      • GenerateBuildDashboard

        public GenerateBuildDashboard()
    • Method Detail

      • getInstantiator

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

        @Inject
        protected org.gradle.api.internal.CollectionCallbackActionDecorator getCollectionCallbackActionDecorator()
      • getInputReports

        @Input
        public java.util.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