ClojureBridge / drawing

Experimental capstone app for ClojureBridge curriculum using Quil
25 stars 36 forks source link

quil leining template generates warnings #20

Open practicalli-johnny opened 9 years ago

practicalli-johnny commented 9 years ago

Running the command lein new quil drawing creates a project. When running lein deps in this drawing project, warnings are generated

~/p/clojure➜ lein new quil drawing-test
Generating fresh 'lein new' quil project.
~/p/clojure➜ cd drawing-test
~/p/c/drawing-test➜ lein deps
WARNING!!! version ranges found for:
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [org.clojure/clojure "[1.3.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/regex "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/parsley "0.9.1"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].
[quil "2.2.5"] -> [com.keminglabs/cljx "0.4.0"] -> [org.clojars.trptcolin/sjacket "0.1.0.6"] -> [net.cgrand/parsley "0.9.1"] -> [net.cgrand/regex "1.1.0"] -> [org.clojure/clojure "[1.2.0,)"]
Consider using [quil "2.2.5" :exclusions [org.clojure/clojure]].

This seems to be an issue with Quil version 2.2.5 and Clojure 1.6. Edit the project.clj file and either change the quil dependency to 2.2.4 or add :exclusions [org.clojure/clojure] to the dependency entry for quil 2.2.5

(defproject drawing-test "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME"
  :license {:name "Eclipse Public License"
            :url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.6.0"]
                 [quil "2.2.5" :exclusions [org.clojure/clojure]]])

Or simply clone the existing repository, rather than create your own project with Leiningen.

Thank you

yokolet commented 9 years ago

Hey, @jr0cket , do you see the warning still now? As far as I tried recently, quil version was updated to 2.2.6 and didn't see any warning. Give it a try again.