Fork me on GitHub
#leiningen
<
2017-01-20
>
luke15:01:52

Hey, wondering if someone can help me out. Having a frustrating issue with Leiningen that I can’t seem to resolve. I have a project with a dependency on Clojure 1.9.0-alpha14, and ClojureScript 1.9.293. These two versions are compatible, and everything works fine in my app itself. However, I run into trouble when I try to build docs using the lein codox plugin. Apparently, lein-codox is pulling an earlier version of ClojureScript, which is incompatible with Clojure 1.9, and causes errors because of a malformed namespace (which only spec-enabled version of Clojure care about) I tried putting an exclusion in the plugin, but it doesn’t seem to have any effect:

`
:plugins [[lein-codox "0.10.2" :exclusions [org.clojure/clojurescript]]]
`

luke15:01:57

any ideas?

luke15:01:23

I just don’t have enough knowledge of how lein builds is classpath when plugins are involved to know what’s going on here.