leiningen

Saket 2024-06-10T04:49:49.332889Z

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&cid=C03KZ3XT0CF

2024-06-10T11:57:51.746849Z

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
2024-06-10T11:59:06.600889Z

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

Saket 2024-06-10T12:29:08.468219Z

Mainly to download libs from github

2024-06-10T12:31:54.735649Z

I think there are lein plugins specifically for that

2024-06-10T12:33:07.811579Z

like this one https://github.com/reifyhealth/lein-git-down

Saket 2024-06-10T12:40:11.782799Z

Yes