-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclojure-deps.edn
46 lines (38 loc) · 1.51 KB
/
clojure-deps.edn
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
;; The deps.edn file describes the information needed to build a classpath.
;;
;; When using the `clojure` or `clj` script, there are several deps.edn files
;; that are combined:
;; - install-level
;; - user level (this file)
;; - project level (current directory when invoked)
;;
;; For all attributes other than :paths, these config files are merged left to right.
;; Only the last :paths is kept and others are dropped.
{
;; Paths
;; Directories in the current project to include in the classpath
:paths ["src"]
;; External dependencies
:deps {
org.clojure/clojure {:mvn/version "1.10.3"}
}
;; Aliases
;; resolve-deps aliases (-R) affect dependency resolution, options:
;; :extra-deps - specifies extra deps to add to :deps
;; :override-deps - specifies a coordinate to use instead of that in :deps
;; :default-deps - specifies a coordinate to use for a lib if one isn't found
;; make-classpath aliases (-C) affect the classpath generation, options:
;; :extra-paths - vector of additional paths to add to the classpath
;; :classpath-overrides - map of lib to path that overrides the result of resolving deps
:aliases {
:deps {:extra-deps {org.clojure/tools.deps.alpha {:mvn/version "0.11.922"}}}
:test {:extra-paths ["test"]}
:nREPL {:extra-deps {nrepl/nrepl {:mvn/version "0.8.3"}}}
:mytest {:fn cli.clj/foo}
}
;; Provider attributes
:mvn/repos {
"central" {:url "https://repo1.maven.org/maven2/"}
"clojars" {:url "https://repo.clojars.org/"}
}
}