Is there a way to exclude dependencies from being checked? #482
-
My company doesn't use semver (🙄), eg:
It's extremely slow to use Component Selection / |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
We don't have exclusion rules, likely because its simplest to just force the current version and effectively mark it as up-to-date. For example if you keep a manifest then you could write it as, dependencyUpdates.resolutionStrategy {
force libraries.foobar
} |
Beta Was this translation helpful? Give feedback.
-
hmm, I am not sure then. I use this trick in Caffeine because the imported Guava test suite requires a certain dependency version, and it was not worth the effort to migrate after Guava updated its compatibility. That drops the later versions from the report. Note that there our The slow resolution might be due to Gradle checking all of your repositories. You can use repository rules to direct it to the right repo, which might make it faster. Another strategy might be to remove the dependency from the configuration prior to the updates task being run. That might be done by checking if this task is on the I have nothing against a PR to add exclusion support, if you prefer. Since it hasn't come up, I merely suspect there is a trivial workaround that might be good enough for you. |
Beta Was this translation helpful? Give feedback.
We don't have exclusion rules, likely because its simplest to just force the current version and effectively mark it as up-to-date. For example if you keep a manifest then you could write it as,