Closed steve-todorov closed 1 year ago
We are so close to having a report with no false positives. I really hope we can get this working.
It's erroring because you rejected all candidates. You could either instead reject if currentVersion != candidate.version
(preferred) or rewrite the report before it is outputted (a bit of a hack, example)
It does look strange to me that you need to allow the currentVersion
-- I'd expect the plugin to figure that out on it's own. However this works so I guess we can close this ticket now! :)
A resolution strategy is a Gradle api that we extend by resolving the current version. This plugin doesn’t reinvent dependency resolution, it scripts the native support.
Bug description
We have a project that imports a
BOM
and it contains versions forslf4j
which we then reuse in the project:Since the version is already enforced via a
BOM
dependency we wanted to add it to an ignore list so that it is not reported in thedependencyUpdates
. For this we used the following configuration:Result
Expected result
The report should have said
slf4j
was up-to-date.Additional context
It looks like there is a
filterConfigurations
property that is configurable, but it's marked as@Internal
and there is also no documentation about it. Is that supposed to be used instead or is there another way to actually ignore/filter out theslf4j
dependency?