api / org.gradle.api.tasks.diagnostics / DependencyReportTask

DependencyReportTask

open class DependencyReportTask : AbstractDependencyReportTask

Displays the dependency tree for a project. An instance of this type is used when you execute the dependencies task from the command-line.

Constructors

<init>

DependencyReportTask()

Displays the dependency tree for a project. An instance of this type is used when you execute the dependencies task from the command-line.

Functions

getTaskConfigurations

open fun getTaskConfigurations(): ConfigurationContainer

Inherited Functions

generate

open fun generate(project: Project): Unit

getConfigurations

open fun getConfigurations(): MutableSet<Configuration>

Returns the configurations to generate the report for. Defaults to all configurations of this task's containing project.

getRenderer

open fun getRenderer(): ReportRenderer

setConfiguration

open fun setConfiguration(configurationName: String): Unit

Sets the single configuration (by name) to generate the report for.

setConfigurations

open fun setConfigurations(configurations: MutableSet<Configuration>): Unit

Sets the configurations to generate the report for.

setRenderer

open fun setRenderer(renderer: DependencyReportRenderer): Unit

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