-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
63 lines (59 loc) · 3.01 KB
/
project.clj
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
(require '[clojure.string :as str])
(defn- compare-namespaces [ns1 ns2]
(let [[my-ns1 my-ns2] (map
#(-> % (str/split #"integrated-learning-system\.") second)
[ns1 ns2])]
(case [(nil? my-ns1) (nil? my-ns2)]
[true false] -1 ; place ns1 above
[false true] 1 ; place ns2 above
[true true] (compare ns1 ns2)
(compare my-ns1 my-ns2))))
(defproject integrated-learning-system "0.1.0-SNAPSHOT"
:description "Integrated Learning System supports attendance management & schoolwork management."
:url "http://example.com/UNDEFINED"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.11.1"]
[aero "1.1.6"]
[integrant "0.8.0"]
[metosin/reitit "0.5.18"]
[metosin/spec-tools "0.10.5"]
[io.pedestal/pedestal.service "0.5.10"]
[io.pedestal/pedestal.jetty "0.5.10"]
[metosin/reitit-pedestal "0.5.18"]
[hiccup "1.0.5"]
[com.github.seancorfield/next.jdbc "1.2.796"]
[com.layerware/hugsql-core "0.5.3"]
[com.layerware/hugsql-adapter-next-jdbc "0.5.3"]
[org.postgresql/postgresql "42.3.4"]
[camel-snake-kebab "0.4.3"]
[org.clojure/algo.generic "0.1.3"]
[org.apache.commons/commons-lang3 "3.11"]
[clojure-interop/apache-commons-lang "1.0.0"]
[clojure.java-time "1.1.0"]
[metosin/ring-http-response "0.9.3"]
[com.brunobonacci/mulog "0.9.0"]
[crypto-password "0.3.0"]
[expound "0.9.0"]
;; transient dependencies required by `lein-nsort`
[org.clojure/tools.namespace "1.3.0"]
[com.rpl/specter "1.1.3"]
[rewrite-clj "1.1.45"]
;; other transient dependencies
[org.clojure/tools.analyzer "1.1.0"]
[org.slf4j/slf4j-api "1.7.36"]]
:repl-options {:init-ns integrated-learning-system.server}
:profiles {:uberjar {:aot :all}
:dev {:resource-paths ["dev/resources"]
:source-paths ["dev/src"]
:dependencies [[integrant/repl "0.3.1"]
;; transient dependencies
[clojure-complete "0.2.5"]
[nrepl "0.8.3"]]}}
;; turn on the global setting for using `spec` as validation
:injections [(require '[clojure.spec.alpha :as s])
(s/check-asserts true)]
:plugins [[lein-nsort "0.1.15"]]
:uberjar-name "integrated-learning-system.jar"
:nsort {:source-paths ["src" "dev/src"]
:require {:sort-fn first, :comp compare-namespaces}})