-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
26 lines (24 loc) · 1.36 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
(defproject clojure-api "0.0.1-SNAPSHOT"
:description "A Sample REST API"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.10.1"]
[io.pedestal/pedestal.service "0.5.10"]
;; Remove this line and uncomment one of the next lines to
;; use Immutant or Tomcat instead of Jetty:
[io.pedestal/pedestal.jetty "0.5.10"]
;; [io.pedestal/pedestal.immutant "0.5.10"]
;; [io.pedestal/pedestal.tomcat "0.5.10"]
[ch.qos.logback/logback-classic "1.2.3" :exclusions [org.slf4j/slf4j-api]]
[org.slf4j/jul-to-slf4j "1.7.26"]
[org.slf4j/jcl-over-slf4j "1.7.26"]
[org.slf4j/log4j-over-slf4j "1.7.26"]]
:min-lein-version "2.0.0"
:resource-paths ["config", "resources"]
;; If you use HTTP/2 or ALPN, use the java-agent to pull in the correct alpn-boot dependency
;:java-agents [[org.mortbay.jetty.alpn/jetty-alpn-agent "2.0.5"]]
:profiles {:dev {:aliases {"run-dev" ["trampoline" "run" "-m" "clojure-api.server/run-dev"]}
:dependencies [[io.pedestal/pedestal.service-tools "0.5.10"]]}
:uberjar {:aot [clojure-api.server]}}
:main ^{:skip-aot true} clojure-api.server)