Fork me on GitHub
#babashka
<
2022-06-08
>
nate00:06:24

Does add-deps (https://book.babashka.org/#_add_deps) require java or clojure to be installed?

Bob B02:06:05

That function uses deps.clj, which in turn looks for java:

user=> (deps/add-deps '{:deps {medley/medley {:mvn/version "1.3.0"}}})
java.lang.Exception: Couldn't find 'java'. Please set JAVA_HOME. [at <repl>:2:1]
However, if java is installed, deps.clj will download the clojure tools jar and so on, so I think I'm right in saying that the only pre-req is java (and of course, bb)

👍 1
nate02:06:39

Awesome. Thank you.

pinkfrog06:06:23

Can I make self-contained executable with bb or nbb ? (assume the host does not have bb installed)

borkdude18:06:50

babashka Babashka 0.8.156 released. See the announcement https://clojurians.slack.com/archives/C06MAR553/p1654711774224899! 🎉

🎉 4