Fork me on GitHub
#leiningen
<
2016-03-01
>
richiardiandrea00:03:58

@ccann: I think they removed the explicit dependency on clojure.tools.reader in this new version, so maybe you need to add it to your project.clj? Just guessing...

venantius05:03:15

Is there a way to make one plugin require another plugin?

venantius05:03:47

specifically, I’d like to check what version of clojure a project is on, and then programmatically set a plugin in the project map as either A or B

venantius08:03:29

(I figured it out)

venantius08:03:36

Relatedly, new version of Ultra simple_smile

jcromartie14:03:29

I see defproject supports , but what about @?

ccann17:03:14

@nberger @richiardiandrea thanks for the tips! I haven’t had any luck fixing it but it looks like it’s related to timbre

ccann17:03:49

since it works if I remove timbre as a dependency (edit: i won’t say it’s “because” of timbre, just that it’s somehow involved”)

nberger18:03:54

@ccann what version of timbre are you trying to use? It seems there was an issue (https://github.com/fzakaria/slf4j-timbre/issues/8) similar to yours when using timbre 4.1.4 that it got fixed in timbre 4.1.5

ccann18:03:17

I’m using the latest 4.3.1 — I saw that issue too

nberger18:03:46

perhaps you can share a gist with your lein deps :tree?

ccann18:03:44

If I run lein compile I get this error java.lang.RuntimeException: No dispatch macro for: =

ccann19:03:03

I think this is the problem:

[com.taoensso/timbre "4.3.1"] -> [com.taoensso/encore "2.36.2"] -> [org.clojure/tools.reader "0.10.0"]
 overrides
[io.weft/enclojure "1.2.2"] -> [io.weft/clj-utils "1.3.7"] -> [org.clojure/core.async "0.2.374"] -> [org.clojure/tools.analyzer.jvm "0.6.9"] -> [org.clojure/tools.reader "1.0.0-alpha1”]

ccann19:03:20

Ah! requiring [com.taoensso/timbre "4.3.1" :exclusions [org.clojure/tools.reader]] fixes the problem

ccann19:03:57

thanks for the help @nberger