Fork me on GitHub
#leiningen
<
2019-10-28
>
zyxmn17:10:13

hey guys , how do I get the latest version of a dependency . Do I replace the version number with "LATEST" for a particular dependency in project.clj?

andy.fingerhut17:10:14

I believe that should do it, but I haven't tried it myself. If the dependency you do that for is not one of your own, it seems to be asking for unpredictable changes in your code at times you cannot easily predict.

👍 4
andy.fingerhut17:10:25

There is the lain-ancient plugin that you can run to report which dependencies have newer versions available -- perhaps you already know of that.

zyxmn18:10:20

Yep , I tried lein-ancient the dependency doesn't even show up in the list of outdated dependencies and I know definitely that I am on an older version . The dependency is hosted on s3 and I am using s3-wagon 1.3.1 . I am able to switch to the latest version of the dependency if I specify the version number explicitly.

andy.fingerhut18:10:57

I have not used lein-ancient with anything other than dependencies on Maven Central and http://clojars.org, so haven't seen the behavior you describe. Perhaps a known limitation and/or bug in lein-ancient.

zyxmn18:10:22

In the read me for lein ancient, it does mention s3 repos are supported. I must be missing something, thanks

andy.fingerhut18:10:39

... or an unknown limitation and/or bug in lein-ancient 🙂

👌 4