Fork me on GitHub
#boot
<
2020-07-01
>
ksd20:07:57

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

alandipert20:07:59

@ruyvalle should do the trick:

;; 
[org.apache.commons/commons-lang3 "3.10"]

ksd20:07:52

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

ksd20:07:24

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

ksd20:07:33

ok I see how to figure out the first part

ksd20:07:23

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

ksd20:07:36

I was using it wrong

ksd20:07:52

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