Fork me on GitHub
#holy-lambda
<
2022-06-28
>
Nick Stares15:06:42

Heya holy-lambans / Karol 🙂 I want to include a java class with my HL project. I've done this before with lein but never deps.edn, looks like there is a guide for tools.build, here https://clojure.org/guides/tools_build#_mixed_java_clojure_build has anyone done this before? How would it hook into the hl build process?

Karol Wójcik19:06:32

Hmm.. currently HL is using depstar. Probably worth asking on their channel.

Karol Wójcik15:06:22

@U8STBJZU0 you can remove the compile alias in deps.edn and replace it with build.clj if it's easier for you that way.

Karol Wójcik15:06:43

Then plug new build command in bb.edn.

Karol Wójcik17:06:36

@U8STBJZU0 Alternatively here is an example of mixing Clojure with Java developed by Miguel Cuervo.