Repository navigation
Expand file tree
/
Copy pathdeps.edn
More file actions
114 lines (102 loc) · 6.31 KB
/
Copy pathdeps.edn
File metadata and controls
114 lines (102 loc) · 6.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{:paths ["src" "resources" "target/classes"]
;; A Maven central with more generous request limits.
:mvn/repos {"central" {:url "https://maven-central.storage.googleapis.com/maven2/"}}
;; Only the *non-inlined* runtime deps live here, so they (and only they) end
;; up in the published pom. The deps that get source-shaded into the jar are
;; kept under the :inlined-deps alias below, so they never leak into the pom.
:deps {org.clojure/clojure {:mvn/version "1.12.5" :mvn/scope "provided"}
;; nREPL ships as a regular (compile) dependency, matching the
;; historical Leiningen-built pom, so cider-nrepl pulls it in for users.
nrepl/nrepl {:mvn/version "1.7.0"}
cider/orchard {:mvn/version "0.48.0" :exclusions [org.clojure/clojure]}
compliment/compliment {:mvn/version "0.8.2"}
io.github.tonsky/clj-reload {:mvn/version "1.0.0" :exclusions [org.clojure/clojure]}
mx.cider/logjam {:mvn/version "0.3.0" :exclusions [org.clojure/clojure]}
org.rksm/suitable {:mvn/version "0.8.0"
:exclusions [org.clojure/clojure
org.clojure/clojurescript
compliment/compliment]}}
:aliases
{;; Dependencies that are source-shaded into the jar by mranderson. They are
;; NOT part of :deps (so they stay out of the pom), but they have to be on the
;; classpath for any non-inlined run (dev/test/repl), where the cider-nrepl
;; sources still refer to them by their original namespaces.
;; NOTE: keep these versions in sync with build.main/inlined-deps.
:inlined-deps
{:extra-deps {dev.weavejester/cljfmt {:mvn/version "0.16.6"
:exclusions [org.clojure/clojure
org.clojure/clojurescript
org.clojure/tools.cli]}
org.clojure/tools.namespace {:mvn/version "1.5.1"}
org.clojure/tools.reader {:mvn/version "1.6.0"}}}
;; Run against the inlined/shaded sources instead of src + :inlined-deps.
;; Use after `clojure -T:build inline-deps`, e.g.
;; clojure -X:1.12:nrepl-1.7:cljs:inlined:test
;; This is the tools.deps equivalent of the old mranderson full-test job.
:inlined {:replace-paths ["target/srcdeps" "resources" "target/classes"]}
;; ClojureScript-dependent middleware and tests. This is the single source of
;; the ClojureScript version; the Clojure version profiles below deliberately
;; don't pin one (CLJS 1.12 needs JDK21+, so the cljs tests only run there).
:cljs
{:extra-deps {org.clojure/clojurescript {:mvn/version "1.12.145" :mvn/scope "provided"}
cider/piggieback {:mvn/version "0.7.0"}}}
;; Clojure version matrix (use with -M:1.10:test etc.).
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.4"}}}
:1.12 {:override-deps {org.clojure/clojure {:mvn/version "1.12.5"}}}
:1.13 {:override-deps {org.clojure/clojure {:mvn/version "1.13.0-alpha9"}}}
;; nREPL version matrix.
:nrepl-1.0 {:override-deps {nrepl/nrepl {:mvn/version "1.0.0"}}}
:nrepl-1.3 {:override-deps {nrepl/nrepl {:mvn/version "1.3.0"}}}
:nrepl-1.4 {:override-deps {nrepl/nrepl {:mvn/version "1.4.0"}}}
:nrepl-1.5 {:override-deps {nrepl/nrepl {:mvn/version "1.5.2"}}}
:nrepl-1.6 {:override-deps {nrepl/nrepl {:mvn/version "1.6.0"}}}
:nrepl-1.7 {:override-deps {nrepl/nrepl {:mvn/version "1.7.0"}}}
:nrepl-1.8 {:override-deps {nrepl/nrepl {:mvn/version "1.8.0"}}}
:test
{:extra-paths ["test/clj" "test/cljs" "test/common" "test/src"
"test/java" "test/resources"]
:extra-deps {ch.qos.logback/logback-classic {:mvn/version "1.3.7"}
mvxcvi/puget {:mvn/version "1.3.4" :exclusions [org.clojure/clojure]}
fipp/fipp {:mvn/version "0.6.29"}
org.clojure/test.check {:mvn/version "1.1.3"}
nubank/matcher-combinators {:mvn/version "3.10.0"}
leiningen-core/leiningen-core {:mvn/version "2.11.2"
:exclusions [org.clojure/clojure
commons-codec/commons-codec
com.google.code.findbugs/jsr305]}
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:jvm-opts ["-Djava.util.logging.config.file=test/resources/logging.properties"
"-Dclojure.main.report=stderr"]
:exec-fn cognitect.test-runner.api/test
;; Match lein's behaviour of running every namespace in the test paths, not
;; just those named *-test (we have a few fixture nses named *-tests and a
;; cider.nrepl.test-session sanity test that the default pattern would skip).
;; The ClojureScript tests live in test/cljs and are run separately (their
;; CLJS 1.12 Closure compiler needs JDK21+); see the cljs-test Makefile target.
:exec-args {:dirs ["test/clj" "test/common"]
:patterns [".*"]}}
;; Documentation generation (ops.adoc).
:docs {:extra-paths ["."]
:exec-fn build.docs/docs}
;; Build/inline/deploy tooling. mranderson 0.6 is the first release with the
;; Leiningen-free mranderson.core/inline-deps entry point, and 0.7.2 the first
;; whose jar no longer bundles its own (unshaded) aether classes, which is what
;; lets it share a classpath with tools.deps 0.31+ / tools.build 0.10.11+.
:build
{:deps {io.github.clojure/tools.build {:mvn/version "0.10.14"}
slipset/deps-deploy {:mvn/version "0.2.5"}
thomasa/mranderson {:mvn/version "0.7.2"}}
:ns-default build.main}
:cljfmt
;; Keep in sync with the :inlined-deps cljfmt version above.
{:extra-deps {dev.weavejester/cljfmt {:mvn/version "0.16.6"}}
:main-opts ["-m" "cljfmt.main"]}
:kondo
{:extra-deps {clj-kondo/clj-kondo {:mvn/version "2026.08.04"}}
:main-opts ["-m" "clj-kondo.main"]}
:eastwood
{:extra-deps {jonase/eastwood {:mvn/version "1.4.3"}}
:main-opts ["-m" "eastwood.lint"
{:source-paths ["src"]}]}}}