You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a deps.edn that has exclusions for transitive dependency exclusions as below (ie clojurescript is not a direct dependency of uap-clj, but is a dependency of a dependency)
Running clj -Stree in the repo does not contain the excluded libraries, but lein deps :tree with lein-tools-deps set up does.
In my exploration of this issue I've found that the excluded transitive dependencies aren't present at the end of lein-tools-deps.plugin/resolve-dependencies-with-deps-edn, which seems to be correct behavior, but then they must get added sometime later by Leiningen internals.
The text was updated successfully, but these errors were encountered:
AdamFrey
changed the title
Cannot exclude transitve dependencies two layers deep
Cannot exclude transitive dependencies two layers deep
Aug 28, 2018
AdamFrey
added a commit
to AdamFrey/lein-tools-deps
that referenced
this issue
Aug 28, 2018
I created a reproducible example repo, that has some more info in the README.
With a
deps.edn
that has exclusions for transitive dependency exclusions as below (ieclojurescript
is not a direct dependency ofuap-clj
, but is a dependency of a dependency)Running
clj -Stree
in the repo does not contain the excluded libraries, butlein deps :tree
withlein-tools-deps
set up does.In my exploration of this issue I've found that the excluded transitive dependencies aren't present at the end of lein-tools-deps.plugin/resolve-dependencies-with-deps-edn, which seems to be correct behavior, but then they must get added sometime later by Leiningen internals.
The text was updated successfully, but these errors were encountered: