Fork me on GitHub
#tools-deps
<
2021-09-27
>
cfleming21:09:18

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

cfleming21:09:50

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

hiredman21:09:11

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

cfleming21:09:11

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