lein-tools-deps icon indicating copy to clipboard operation
lein-tools-deps copied to clipboard

Add upstream exclusions to transitive dependencies

Open AdamFrey opened this issue 6 years ago • 2 comments

This is a potential fix for https://github.com/RickMoynihan/lein-tools-deps/issues/66.

It works by explicitly listing all :exclusions from a dep's parents in the dependency tree to ensure that leiningen doesn't add a dependency during its own dependency resolution that should have been excluded.

I'll admit this is sort of inelegant so let me know if you have implementation opinions.

AdamFrey avatar Aug 28 '18 18:08 AdamFrey

Thanks for this and the comprehensive example, I'll try and find some time to review.

RickMoynihan avatar Sep 03 '18 14:09 RickMoynihan

@RickMoynihan did you have a chance to review this PR ?

marco-m avatar Oct 04 '18 06:10 marco-m