I am using pomegranate's add-dependencies function:
(add-dependencies :coordinates '[[incanter "1.2.3"]]
:repositories {"clojars" "http://clojars.org/repo"})
However, I don't usually know what the latest version of incanter (or any other project). Is there a way to check for that programmatically?
$ lein ancient
[com.taoensso/timbre "2.6.2"] is available but we use "2.1.2"
[potemkin "0.3.3"] is available but we use "0.3.0"
[pandect "0.3.0"] is available but we use "0.2.3"
clojars
Another approach (which might work but I haven't tested it yet) would be to use "RELEASE"
as the artifact version. That's, for example, how lein-try does it.
(add-dependencies '[[incanter "RELEASE"]] ...)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With