api / org.gradle.api.tasks.diagnostics / DependencyInsightReportTask / setShowSinglePathToDependency

setShowSinglePathToDependency

open fun setShowSinglePathToDependency(showSinglePathToDependency: Boolean): Unit

Tells if the report should only display a single path to each dependency, which can be useful when the graph is large. This is false by default, meaning that for each dependency, the report will display all paths leading to it.

Since
4.9