gradle-versions-plugin
gradle-versions-plugin copied to clipboard
Default dependencies aren't checked
I've got a Gradle plugin which creates a custom configuration and adds a default dependency to it using https://docs.gradle.org/current/javadoc/org/gradle/api/artifacts/Configuration.html#defaultDependencies-org.gradle.api.Action-
dependencyUpdates does not check if that dependency has newer versions (it doesn't show up anywhere in the report).
yeah, we don't do anything special regarding that. Currently we're using getAllDependencies, which is JavaDoc'd as the "declared dependencies". I guess that means it wouldn't include the defaults. I imagine this would be a slight change to Resolver to include it.
What would the negative side-effect of including them be? Potentially it would cause confusion of users not realizing where the dependency is coming from. We might need to indicate in the reports if its non-obvious
Wouldn't the dependencies task be enough to figure out where it's coming from?
@gabrielittner Do you have a repro for this? or is this ok to close?