Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.tasks.diagnostics
[Java] Class DependencyReportTask

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.tasks.diagnostics.AbstractReportTask
              org.gradle.api.tasks.diagnostics.DependencyReportTask

    public class DependencyReportTask
    extends AbstractReportTask

The `DependencyReportTask` displays the dependency tree for a project. Can be configured to output to a file, and to optionally output a graphviz compatible "dot" graph. This task is used when you execute the dependency list command-line option.

Authors:
  Phil Messenger

Method Summary
`void` | `generate(Project project)`
`java.util.Set` | `getConfigurations()` Returns the configurations to use to build a report.
`ProjectReportRenderer` | `getRenderer()`
`void` | `setConfigurations(java.util.Set configurations)` Set the configurations to use to build a report.
`void` | `setRenderer(DependencyReportRenderer renderer)` Set the renderer to use to build a report.

Methods inherited from class AbstractReportTask
generate, generate, getOutputFile, getProjects, getRenderer, setOutputFile, setProjects

Method Detail

### generate

    public void generate(Project project)

### getConfigurations

    public java.util.Set getConfigurations()

  Returns the configurations to use to build a report. If unset, all project configurations will be used.

### getRenderer

    public ProjectReportRenderer getRenderer()

### setConfigurations

    public void setConfigurations(java.util.Set configurations)

  Set the configurations to use to build a report. If unset, all project configurations will be used.

### setRenderer

    public void setRenderer(DependencyReportRenderer renderer)

  Set the renderer to use to build a report. If unset, AsciiGraphRenderer will be used.

Groovy Documentation