Fork me on GitHub
#leiningen
<
2019-08-11
>
danielcompton21:08:26

@xiongtx it's mostly a communication thing. Putting it in managed dependencies says "if I have this dependency transitively, then always use this version". Putting it in your :dependencies says "always use this version, because I'm using it in my project". If you don't actually use the dependency yourself, then :managed-dependencies is a better way of communicating that than putting a comment in your project.clj about it

xiongtx16:08:13

I see, thanks! :thumbsup:

danielcompton21:08:02

The other benefit of using :managed-dependencies is that if it doesn't get transitively included then it won't be included on your classpath at all