Fork me on GitHub
#tools-deps
<
2021-01-09
>
idas20:01:07

i'd like to create a project where i'd like to use a mix of java and clojure code, where the clojure code will be calling relevant custom java classes in the project. is there an example project using tools deps that illustrates the best way to go about doing that? i've come across https://github.com/EwenG/badigeon for possibly custom compiling the java classes via tools deps. is this a recommended tool to use?

mike_ananev20:01:58

@idas I recommend to use https://github.com/seancorfield/depstar + make utility script. e.g. make javac will compile java sources, and make jar will compile Clojure code using depstar. Also, you may use my wrapper over Badigeon https://github.com/redstarssystems/pbuilder which can make basic Leiningen tasks. Also, see lib and app templates on pbuilder page.

idas20:01:12

thank you @mike1452! i'll take a look at this!