Dependency Insight Report Task
Generates a report that attempts to answer questions like:
- Why is this dependency in the dependency graph?
- Exactly which dependencies are pulling this dependency into the graph?
- What is the actual version (i.e. *selected* version) of the dependency that will be used? Is it the same as what was *requested*?
- Why is the *selected* version of a dependency different to the *requested*?
- What variants are available for this dependency?
While the regular dependencies report (DependencyReportTask) shows the path from the top level dependencies down through the transitive dependencies, the dependency insight report shows the path from a particular dependency to the dependencies that pulled it in. That is, it is an inverted view of the regular dependencies report.
The task requires setting the dependency spec and the configuration. For more information on how to configure those please refer to docs for setDependencySpec and setConfiguration.
The task can also be configured from the command line. For more information please refer to setDependencySpec, setConfiguration, setShowSinglePathToDependency, and getShowingAllVariants.
Properties
The extra properties extension in this object's extension container.
Functions
Returns the extension of the specified type.
Returns the extension of the specified extensionType.