boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
Ruy Valle 2020-07-01T20:01:57.043200Z

hello, I am having trouble setting a java dependency in a boot project. specifically, I want to use org.apache.commons.lang3.StringUtils

2020-07-01T20:06:59.043800Z

@ruyvalle should do the trick:

;; <https://mvnrepository.com/artifact/org.apache.commons/commons-lang3>
[org.apache.commons/commons-lang3 "3.10"]

Ruy Valle 2020-07-01T20:13:52.044700Z

thank you! and how do I then import it? and how could I have figured this out by myself?

Ruy Valle 2020-07-01T20:20:24.045Z

e.g. why doesn't (import [org.apache.commons.lang3 StringUtils]) work?

Ruy Valle 2020-07-01T20:23:33.045400Z

ok I see how to figure out the first part

Ruy Valle 2020-07-01T20:27:23.046700Z

[org.apache.commons/commons.lang3 "3.10"] == [(string/join groupId artifactId) version]

Ruy Valle 2020-07-01T20:36:32.047Z

got it

Ruy Valle 2020-07-01T20:36:36.047200Z

I was using it wrong

Ruy Valle 2020-07-01T20:36:52.047700Z

also I realized maven has a leiningen tab which shows how to import