Fork me on GitHub
#tools-deps
<
2022-09-09
>
hlship21:09:02

When using :local/root, is it possible to specify aliases to use when extracting classpath and dependencies from the identified directory? Rationale: I have a multi-module project; I have module C that depends on B that depends on A. I'm adding a :local alias that uses :override-deps to convert from :mvn/version to :local/root for these intra-module dependencies, useful for local development. However in C's deps.edn, I specify :local/root for B but the transitive to A is the :mvn/version coordinate, not the :local/root coordinate. My workaround is to recapitualte B's local dependencies in C's :local alias.

Alex Miller (Clojure team)21:09:06

the ticket for this is https://clojure.atlassian.net/browse/TDEPS-116 - I think it needs some thought about both the semantics and usage controls

👍 1
Alex Miller (Clojure team)21:09:55

I think your current solution is probably the best option right now