gradle-dependency-lock-plugin icon indicating copy to clipboard operation
gradle-dependency-lock-plugin copied to clipboard

handleSiblingTransitives ignores filters

Open inconnu opened this issue 7 years ago • 0 comments

In a multi-module project where one module depends on another, the sibling dependencies are included in the dependencies.lock and are always locked even if the filter would exclude it.

dependencyFilter = { String group, String name, String version -> !(group = "a.b.c" && name = "foo")}

If a.b.c:foo is a sibling transitive, it will still be locked to a specific version.

inconnu avatar Nov 27 '18 18:11 inconnu