Class AbstractDependencyReportTask

  • All Implemented Interfaces:
    Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, org.gradle.util.Configurable<Task>
    Direct Known Subclasses:
    DependencyReportTask

    public abstract class AbstractDependencyReportTask
    extends AbstractReportTask
    Displays the dependency tree for a configuration.
    • Constructor Detail

      • AbstractDependencyReportTask

        public AbstractDependencyReportTask()
    • Method Detail

      • getRenderer

        public org.gradle.api.tasks.diagnostics.internal.ReportRenderer getRenderer()
        Specified by:
        getRenderer in class AbstractReportTask
      • setRenderer

        public void setRenderer​(org.gradle.api.tasks.diagnostics.internal.DependencyReportRenderer renderer)
        Set the renderer to use to build a report. If unset, AsciiGraphRenderer will be used.
      • getConfigurations

        @Internal
        public Set<Configuration> getConfigurations()
        Returns the configurations to generate the report for. Defaults to all configurations of this task's containing project.
        Returns:
        the configurations.
      • setConfigurations

        public void setConfigurations​(Set<Configuration> configurations)
        Sets the configurations to generate the report for.
        Parameters:
        configurations - The configuration. Must not be null.
      • setConfiguration

        public void setConfiguration​(String configurationName)
        Sets the single configuration (by name) to generate the report for.
        Parameters:
        configurationName - name of the configuration to generate the report for