-
Notifications
You must be signed in to change notification settings - Fork 134
/
project.clj
51 lines (51 loc) · 3.13 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
(defproject clojurewerkz/elastisch "5.0.0-SNAPSHOT"
:url "http://clojureelasticsearch.info"
:description "Minimalistic fully featured well documented Clojure Elasticsearch client"
:license {:name "Eclipse Public License"}
:dependencies [[org.clojure/clojure "1.9.0"]
[cheshire "5.6.1"]
[clj-http "2.2.0" :exclusions [org.clojure/clojure]]
[clojurewerkz/support "1.1.0" :exclusions [com.google.guava/guava]]
;; used by the native client
[org.elasticsearch/elasticsearch "2.4.6"]]
:min-lein-version "2.5.1"
:profiles {:dev {:resource-paths ["test/resources"]
:dependencies [[clj-time "0.11.0" :exclusions [org.clojure/clojure]]]
:plugins [[lein-codox "0.9.0"]
[jonase/eastwood "0.2.3"]]
:codox {:source-paths ["src"]
:metadata {:doc/format :markdown}}}
;; this version of clj-http depends on HTTPCore 4.2.x which
;; some projects (e.g. using Spring's RestTemplate) can rely on,
;; so we test for compatibility with it. MK.
:cljhttp076 {:dependencies [[clj-http "0.7.6"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.0"]]}
:master {:dependencies [[org.clojure/clojure "1.10.0-master-SNAPSHOT"]]}}
:aliases {"all" ["with-profile" "dev:1.8,dev:1.10,dev:master,dev:cljhttp076,dev"]} ;try dev, then dev+1.8, then dev+master
:repositories {"sonatype" {:url "http://oss.sonatype.org/content/repositories/releases"
:snapshots false
:releases {:checksum :fail :update :always}}
"sonatype-snapshots" {:url "http://oss.sonatype.org/content/repositories/snapshots"
:snapshots true
:releases {:checksum :fail :update :always}}}
:global-vars {*warn-on-reflection* true}
:test-selectors {:focus :focus
:indexing :indexing
:query :query
:facets :facets
:percolation :percolation
:scroll :scroll
:snapshots :snapshots
:native :native
:rest :rest
:version-dependent :version-dependent
:all (constantly true)
:default (fn [m] (not (or (:version-dependent m)
(:scripting m)
(:plugin m))))
:ci (fn [m] (and (not (:native m))
(not (:version-dependent m))))}
:mailing-list {:name "clojure-elasticsearch"
:archive "https://groups.google.com/group/clojure-elasticsearch"
:post "[email protected]"})