Fork me on GitHub
#leiningen
<
2021-12-21
>
vemv19:12:05

Can I add a plugin while excluding a dependency it brings? I want to add something like this {:plugins [[lein-doo "0.1.11" :exclusions [org.clojure/clojure]]]} but :exclusions doesn't appear to work at plugins level. What worked was placing another plugin that would depend on a more recent version of Clojure, but that isn't a self-contained solution

mikerod22:12:32

Plugin operations happen in the same classpath and process space as leiningen itself. So you'd be using the same clj version as the leiningen version typically I'd think

mikerod22:12:54

You are observing the plug-ins version taking precedence on the classpath ?