Fork me on GitHub
#tools-deps
<
2020-04-07
>
penryu08:04:21

Is there anything in tools.deps that approximates lein's :java-source-paths?

vlaaad08:04:47

@penryu no, tools-deps does not compile java, it only builds class paths and runs java programs

vlaaad08:04:29

you can compile java separately, release it to clojars and use as a maven dependency 🙂

vlaaad08:04:56

there are tools on top of tools-deps, like https://github.com/EwenG/badigeon — they can compile java sources

penryu08:04:39

Thanks, @vlaaad. In this case, I'm going to implement some of the core functions in java, and provide a clojure wrapper.

penryu08:04:50

Ah, I'll take a look at badigeon

mike_ananev09:04:55

@penryu or you can take high level wrapper for Badigeon https://github.com/redstarssystems/pbuilder

teodorlu19:04:14

Is it possible to override :main-opts from the command line?

teodorlu19:04:34

Context: standard :test:runner from Sean's clj -A:new setup. Trying to make Docker download test dependencies into the image without running stuff early on to improve caching.

Alex Miller (Clojure team)20:04:49

main-opts concat rather than override

Alex Miller (Clojure team)20:04:58

so no if I understand your question

Alex Miller (Clojure team)20:04:11

but you can always make a new alias that does what you want

teodorlu20:04:05

That works. Thanks!