dependencies task does not list dependencies declared via defaultDependencies #21868
Labels
a:bug
in:dependency-declarations
variant notation attributes capability substitution
in:reporting-tasks
help dependencyInsight dependencies
When having a dependency declared via
Configuration#defaultDependencies(...)
, these dependencies are not shown when running./gradlew dependencies
Expected Behavior
Dependencies declared as default dependencies are shown by the gradle dependencies task
Current Behavior
Dependencies declared as default dependencies are not shown by the gradle dependencies task
Context
We run into this when testing the latest 7.6 Gradle nightly as we have tests started failing that rely on that functionality
Steps to Reproduce
gradle dependencies
with latest gradle nightlyInterestingly running it with a configuration name passed is broken already in earlier gradle versions:
gradle dependencies --configuration testImplementation
with latest gradle nightlyYour Environment
The text was updated successfully, but these errors were encountered: