noir-clojure / noir-cljs

A noir utility to add ClojureScript compilation through middleware
63 stars 8 forks source link

Always downgrades to Clojure 1.3.0 #6

Open samedhi opened 12 years ago

samedhi commented 12 years ago

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 commented 12 years ago

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