-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
132 lines (112 loc) · 4.93 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
(def ^:private apache-beam-version "2.26.0")
(def ^:private slfj4-version "1.7.30")
(defproject com.curbside/curbside-clojure-beam "0.3.3-SNAPSHOT"
:description "Clojure wrapper for Apache Beam"
:url "https://github.com/RakutenReady/curbside-clojure-beam"
:repositories
[["redshift"
{:url "https://s3.amazonaws.com/redshift-maven-repository/release"}]
["confluent"
{:url "https://packages.confluent.io/maven/"}]
["abracad"
{:url "https://maven.pkg.github.com/RakutenReady/abracad"
:username :env/github_actor
:password :env/github_token}]
["curbside-avro-schemas"
{:url "https://maven.pkg.github.com/RakutenReady/curbside-avro-schemas"
:username :env/github_actor
:password :env/github_token}]]
:deploy-repositories
[["releases" {:url "https://maven.pkg.github.com/RakutenReady/curbside-clojure-beam"
:username :env/github_actor
:password :env/github_token
:sign-releases false}]]
;; Safety: you *must* use a dedicated release profile in order to perform
;; releases.
:release-tasks []
:exclusions [org.slf4j/slf4j-log4j12 log4j]
:dependencies
[[org.clojure/clojure "1.10.1"]
[nrepl "0.6.0"] ; Network REPL server
[medley "1.2.0"]
[clj-time "0.15.2"]
[org.clojure/core.match "0.3.0"]
[com.taoensso/nippy "2.14.0"]
;; Logging
[org.slf4j/log4j-over-slf4j ~slfj4-version] ; https://www.slf4j.org/legacy.html
[org.slf4j/jul-to-slf4j ~slfj4-version]
[org.slf4j/jcl-over-slf4j ~slfj4-version]
[org.apache.commons/commons-lang3 "3.9"]
[org.clojure/tools.logging "0.5.0"]
;; beam
[org.apache.beam/beam-sdks-java-io-kafka ~apache-beam-version]
[org.apache.beam/beam-sdks-java-io-jdbc ~apache-beam-version]
[org.apache.beam/beam-sdks-java-core ~apache-beam-version]
[org.apache.beam/beam-runners-direct-java ~apache-beam-version]
[org.apache.beam/beam-sdks-java-io-snowflake ~apache-beam-version
:exclusions [io.grpc/grpc-netty-shaded io.grpc/grpc-core io.grpc/grpc-api log4j org.slf4j/slf4j-log4j12]]
[org.apache.beam/beam-runners-google-cloud-dataflow-java ~apache-beam-version
:exclusions [io.netty/netty-codec-http2 io.grpc/grpc-netty-shaded io.grpc/grpc-core io.grpc/grpc-api log4j org.slf4j/slf4j-log4j12]]
;; kafka
[org.apache.kafka/kafka-clients "2.7.0"]
[io.confluent/kafka-avro-serializer "5.0.0"
:exclusions [org.apache.kafka/kafka-clients]]
[curbside/abracad "0.4.23"] ; AVRO for Clojure
[org.apache.avro/avro "1.9.1"]
[curbside-avro-schemas "0.0.47"]
;; redis
[com.taoensso/carmine "2.19.1"]
;; Serialization
[metosin/jsonista "0.2.5"]
[camel-snake-kebab "0.4.0"]
;; geography utilities
[factual/geo "2.1.1"]
;; Datadog
[com.datadoghq/java-dogstatsd-client "2.9.0"]]
:how-to-ns {:require-docstring? false
:sort-clauses? true
:allow-refer-all? false
:allow-extra-clauses? false
:align-clauses? false
:import-square-brackets? false}
:source-paths ["src"]
:java-source-paths ["src"]
:javac-options ["-target" "1.8" "-source" "1.8"]
:test-paths ["test" "test_integration"]
:test-selectors {:unit #(not (:integration %))
:integration :integration}
:test2junit-output-dir "test-reports"
:jvm-opts ["-Duser.timezone=UTC"
"-XX:-OmitStackTraceInFastThrow"]
:min-lein-version "2.8.0"
:plugins [[jonase/eastwood "0.3.6"]
[lein-ancient "0.6.15"]
[lein-bikeshed "0.5.1"
:exclusions [org.clojure/tools.cli
org.clojure/tools.namespace]]
[com.gfredericks/lein-how-to-ns "0.2.3"
:exclusions [com.googlecode.java-diff-utils/diffutils]]
[lein-cljfmt "0.5.6"
:exclusions [org.clojure/clojure]]
[lein-cloverage "1.0.13"
:exclusions [org.clojure/clojure]]
[lein-kibit "0.1.6"]]
:aliases {"fix" ["do" ["cljfmt" "fix"] ["how-to-ns" "fix"]]}
:profiles
{:test {:global-vars {*assert* true}
:dependencies [; -- test deps --
[org.slf4j/slf4j-simple ~slfj4-version]
[org.hamcrest/hamcrest-core "2.2"]
[org.hamcrest/hamcrest-library "2.2"]]}
:ci-medium {:plugins [[test2junit "1.3.3"]]
:jvm-opts ["-Xms3G" "-Xmx3G"]}
:release {;; Re-enable release tasks for this profile only!
:release-tasks [["vcs" "assert-committed"]
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
;; we diverge from standard release tasks by using --no-sign here
["vcs" "tag" "--no-sign"]
["deploy"]
["change" "version" "leiningen.release/bump-version"]
["vcs" "commit"]
["vcs" "push"]]}})