Fork me on GitHub

I’m doing some testing with deps, and I have a bunch of dependencies like this:

intellij/sdk {:local/root "../sdks/213.3714.440-EAP-SNAPSHOT"}
Is there any way I can substitute that version string in the :local/root path?

Alex Miller (Clojure team)21:09:17

no, there is no substitution/replacement functionality in deps.edn

Alex Miller (Clojure team)21:09:35

you can pass -Sdeps on the command line and do it there if that helps at all


No, sadly. Ok, thanks, I’ll just have to do it manually.


(or write some code to generate a per version alias with extra deps)


Interesting idea, actually. I’m already generating a bunch of these deps files for IntelliJ, which is just a big ball of jars.