-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
executable file
·47 lines (47 loc) · 2.33 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
(defproject wormbase/pseudoace "0.4.6"
:dependencies [[clj-time "0.11.0"]
;; [com.datomic/datomic-pro "0.9.5359"
;; :exclusions [joda-time]]
[datomic-schema "1.3.0"]
[org.clojure/clojure "1.8.0"]
[org.clojure/tools.nrepl "0.2.12"]
[org.clojure/tools.cli "0.3.3"]]
:description "ACeDB migration tools"
:source-paths ["src"]
:resource-paths ["models"]
:plugins [[lein-environ "1.0.0"]
[lein-pprint "1.1.1"]]
:javac-options ["-target" "1.8" "-source" "1.8"]
:license "GPLv2"
:jvm-opts ["-Xmx6G"
;; same GC options as the transactor,
"-XX:+UseG1GC" "-XX:MaxGCPauseMillis=50"
;; should minimize long pauses.
"-Ddatomic.objectCacheMax=2500000000"
"-Ddatomic.txTimeoutMsec=1000000"
;; Uncomment to prevent missing trace (HotSpot optimisation)
;; "-XX:-OmitStackTraceInFastThrow"
]
:main pseudoace.core
:target-path "target/%s"
:profiles {:uberjar {:aot :all}
:test {:resource-paths ["test/resources"]}
:dev {:dependencies [[datomic-schema-grapher "0.0.1"]]
:plugins [[jonase/eastwood "0.2.3"]
[lein-ancient "0.6.8"]
[lein-bikeshed "0.3.0"]
[lein-kibit "0.1.2"]
[lein-ns-dep-graph "0.1.0-SNAPSHOT"]]
:resource-paths ["test/resources"]}
:datomic-free {:dependencies [[com.datomic/datomic-free "0.9.5359"
:exclusions [joda-time]]]
:exclusions [com.datomic/datomic-pro]}
:datomic-pro {:dependencies [[com.datomic/datomic-pro "0.9.5359"
:exclusions [joda-time]]]}
:mysql {:dependencies [[mysql/mysql-connector-java "6.0.2"]]}
:postgresql {:dependencies [[org.postgresql/postgresql "9.4.1208"]]}
:ddb {:dependencies [[com.amazonaws/aws-java-sdk-dynamodb "1.9.39"
:exclusions [joda-time]]]}}
:deploy-repositories [["releases" :clojars]]
:repositories {"my.datomic.com" {:url "https://my.datomic.com/repo"
:creds :gpg}})