-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
30 lines (26 loc) · 1.48 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
(defproject graphql-demo "0.0.1-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[io.pedestal/pedestal.service "0.5.2"]
;; Remove this line and uncomment one of the next lines to
;; use Immutant or Tomcat instead of Jetty:
[io.pedestal/pedestal.jetty "0.5.2"]
;; [io.pedestal/pedestal.immutant "0.5.2"]
;; [io.pedestal/pedestal.tomcat "0.5.2"]
[ch.qos.logback/logback-classic "1.1.8" :exclusions [org.slf4j/slf4j-api]]
[org.slf4j/jul-to-slf4j "1.7.22"]
[org.slf4j/jcl-over-slf4j "1.7.22"]
[org.slf4j/log4j-over-slf4j "1.7.22"]
[com.walmartlabs/lacinia "0.17.0"]
[com.walmartlabs/lacinia-pedestal "0.2.0"]]
: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" "graphql-demo.server/run-dev"]}
:dependencies [[io.pedestal/pedestal.service-tools "0.5.2"]]}
:uberjar {:aot [graphql-demo.server]}}
:main ^{:skip-aot true} graphql-demo.server)