Skip to content

Commit b197446

Browse files
committed
Don't depend on Clojure explicitly
See technomancy/leiningen#2523 for details.
1 parent 1259480 commit b197446

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

project.clj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
^:inline-dep [rewrite-clj "0.6.1"]
1616
^:inline-dep [cljs-tooling "0.3.1"]
1717
^:inline-dep [version-clj "0.1.2"]]
18+
:exclusions [org.clojure/clojure] ; see versions matrix below
19+
1820
:deploy-repositories [["clojars" {:url "https://clojars.org/repo"
1921
:username :env/clojars_username
2022
:password :env/clojars_password
@@ -24,10 +26,10 @@
2426
:expositions [[org.clojure/tools.analyzer.jvm org.clojure/tools.analyzer]]
2527
:unresolved-tree false}
2628
:filespecs [{:type :bytes :path "refactor-nrepl/refactor-nrepl/project.clj" :bytes ~(slurp "project.clj")}]
27-
:profiles {:provided {:dependencies [[cider/cider-nrepl "0.20.0"]
29+
30+
:profiles {;; Clojure versions matrix
31+
:provided {:dependencies [[cider/cider-nrepl "0.20.0"]
2832
[org.clojure/clojure "1.8.0"]]}
29-
:test {:dependencies [[print-foo "1.0.2"]]
30-
:src-paths ["test/resources"]}
3133
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]
3234
[org.clojure/clojurescript "1.8.51"]
3335
[javax.xml.bind/jaxb-api "2.3.1"]]}
@@ -36,6 +38,9 @@
3638
[javax.xml.bind/jaxb-api "2.3.1"]]}
3739
:1.10 {:dependencies [[org.clojure/clojure "1.10.1"]
3840
[org.clojure/clojurescript "1.10.520"]]}
41+
42+
:test {:dependencies [[print-foo "1.0.2"]]
43+
:src-paths ["test/resources"]}
3944
:dev {:plugins [[jonase/eastwood "0.2.0"]]
4045
:global-vars {*warn-on-reflection* true}
4146
:dependencies [[org.clojure/clojurescript "1.9.946"]

0 commit comments

Comments
 (0)