Fork me on GitHub
#leiningen
<
2024-06-10
>
Saket04:06:49

My project uses leiningen and deps.edn together. The bridge being lein-tools-deps plugin. I am trying to use #flow-storm (clojure-strom) that requires us to exclude the org.clojure/clojure dependency altogether and use its "instrumentation enabled" fork. lein-tools-deps flattens the deps tree and then resolves the dependencies. This is adding clojure as a dependency even after it's been added to :exclusions at the top level. How can I exclude clojure as a dependency here? https://clojurians.slack.com/archives/C03KZ3XT0CF/p1717994731626399?thread_ts=1697986872.473769&amp;cid=C03KZ3XT0CF

jpmonettas11:06:51

looking at the https://github.com/RickMoynihan/lein-tools-deps it starts with :

Do you really want to use this?

Probably not, it has been over 4 years since its last update; and is hugely behind on changes in tools.deps. If you think you need to use this, then you should expect to fork it and maintain it going forward, or if you require git/deps use tools.build instead.

1
jpmonettas11:06:06

@U05AJ7KNDGE out of curiosity, what is the reason you currently use a plugin like that?

Saket12:06:08

Mainly to download libs from github

jpmonettas12:06:54

I think there are lein plugins specifically for that