tools-deps

Discuss tools.deps.alpha, tools.build, and the clj/clojure command-line scripts! See also #depstar #clj-new
2021-01-09T20:04:07.292500Z

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_ananev 2021-01-09T20:12:58.296600Z

@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.

2021-01-09T20:16:12.297200Z

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