-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More updatable dependencies when using 6.0.3 instead of 6.0.2 #1027
Comments
Same observation here: the gradle project dependencies (
|
Interesting! gradle/6.0.2...gradle/6.0.3 I think the root cause is probably 02e0364, which causes the dependencies to be resolved eagerly rather lazily. In some sense, this is probably good, yeah? To have dependencies with CVE's show up in the report? If |
Good question... There's no obvious way to affect which versions get resolved, other than adding resolution strategies to some select configurations, and inherently it's an implementation detail of Spotless which those dependencies are, meaning that any extra resolution strategies will go stale with time. I suppose it's not the responsibility of Spotless to ensure there are no CVE's in its dependencies, though it certainly looks better if there aren't any. |
Should be fixed in |
As far as I can tell, it is fixed for my use-case. |
When using https://github.com/ben-manes/gradle-versions-plugin version 0.38.0 to look for updatable dependencies, I notice that when using Spotless 6.0.3 instead of 6.0.2 it will list a large number of new coordinates, such as
etc.
It looks like something has changed that causes the plugin to pick up dependencies from the
spotless
configurations, which becomes noisy in the report.With Spotless 6.0.2, the report was silent about those dependencies.
Gradle version 7.3.1
Spotless version 6.0.3
The text was updated successfully, but these errors were encountered: