Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always downgrades to Clojure 1.3.0 #6

Open
samedhi opened this issue May 24, 2012 · 1 comment
Open

Always downgrades to Clojure 1.3.0 #6

samedhi opened this issue May 24, 2012 · 1 comment

Comments

@samedhi
Copy link

samedhi commented May 24, 2012

When I add this project to project.clj, even though I have this

(defproject cljs-template "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.4.0"]
[noir-cljs "0.3.0"] ;;takes you down to clojure1.3.0
; [fetch "0.1.0-alpha2"] ;; takes you down to clojure1.2.1
[org.clojure/core.cache "0.5.0"]
[com.datomic/datomic "0.1.3157" :exclusions [org.slf4j/jul-to-slf4j org.slf4j/slf4j-nop]]
[org.slf4j/slf4j-jdk14 "1.6.4"]]
; :dev-dependencies [[clojure-source "1.4.0"]] ;source good for debugging
:plugins [[lein-swank "1.4.4"]]
;:cljsbuild {:builds [{}]}
:main ^{:skip-aot true} cljs-template.server)

adding noir-cljs always drops me down to clojure1.3.0. That is to say, I always end up with clojure-1.3.0.jar in my lib directory. Is this the correct behaviore? I would like to use Clojure1.4.0, as that is needed by datomic, is there any way to do this?

@lypanov
Copy link

lypanov commented Jun 5, 2012

Adding :exclusions [org.clojure/clojure] to any dependencies that downgrade you should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants