Fork me on GitHub
#tools-deps
<
2019-04-12
>
cfleming00:04:10

Is anyone using deps with polyglot JVM projects, e.g. containing Java/Kotlin/etc?

cfleming00:04:30

I’m interested in recommendations for approaches if so.

cfleming00:04:31

I see there are some lightweight build tool options listed in the wiki but I don’t know what the state of any of them is.

Alex Miller (Clojure team)01:04:22

I probably wouldn’t use deps as the controller for that, I’d use it under make, or whatever

sundbp11:04:33

Can’t recall if I brought this up before, but can’t find any traces (tickets etc). So we have -Sdeps to add “extra stuff”. For my purposes it’d be very useful to have the equivalent to add extra deps.edn files to be merged in, e.g. -Sdepsfile path/to/extra/deps.edn. As it is logically the same as -Sdeps "$(< path/to/extra/deps.edn)", just packaged in a different way - would there be any pushback to adding such an option? @alexmiller

Alex Miller (Clojure team)12:04:25

There is a ticket for this and I’m not opposed to it, but am still thinking about various aspects

orestis12:04:19

Wait, -Sdeps adds extra stuff? Can it be combined with -A then?

dominicm13:04:30

It can, yeah.

dominicm13:04:39

To make sure I don't clobber things, I use a namespaced alias name in scripts, sometimes with generated extra paths (e.g. In tmp)

Alex Miller (Clojure team)13:04:49

-Sdeps adds an additional "deps.edn" on the end of the merge chain

orestis14:04:17

Ohhh that’s so nice.