gradle
8.6

# setShowSinglePathToDependency

open fun setShowSinglePathToDependency(showSinglePathToDependency: Boolean)(source)

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.

This method is exposed to the command line interface. Example usage:

    gradle dependencyInsight --single-path

Content copied to clipboard