forked from eikek/docspell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDependencies.scala
More file actions
345 lines (298 loc) · 9.55 KB
/
Dependencies.scala
File metadata and controls
345 lines (298 loc) · 9.55 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
package docspell.build
import sbt._
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport._
object Dependencies {
val BcryptVersion = "0.4"
val BetterMonadicForVersion = "0.3.1"
val BinnyVersion = "0.11.0"
val CalevVersion = "0.7.4"
val CatsVersion = "2.10.0"
val CatsEffectVersion = "3.6.3"
val CatsParseVersion = "1.1.0"
val CirceVersion = "0.15.0-M1"
val CirceGenericExtrasVersion = "0.14.4"
val CirceYamlVersion = "0.16.1"
val ClipboardJsVersion = "2.0.11"
val DoobieVersion = "1.0.0-RC6"
val EmilVersion = "0.19.0"
val FlexmarkVersion = "0.64.8"
val FlywayVersion = "11.17.0"
val Fs2Version = "3.12.2"
val H2Version = "2.3.232"
val Http4sVersion = "0.23.30"
val Icu4jVersion = "77.1"
val JavaOtpVersion = "0.4.0"
val JsoupVersion = "1.20.1"
val JwtScalaVersion = "11.0.3"
val KindProjectorVersion = "0.10.3"
val KittensVersion = "3.5.0"
val LevigoJbig2Version = "2.0"
val Log4sVersion = "1.10.0"
val LogbackVersion = "1.2.10"
val MariaDbVersion = "3.5.6"
val MUnitVersion = "1.2.0"
val MUnitCatsEffectVersion = "2.1.0"
val PdfboxVersion = "3.0.6"
val PdfjsViewerVersion = "2.12.313"
val PoiVersion = "5.4.0"
val PostgresVersion = "42.7.8"
val PureConfigVersion = "0.17.9"
val ScalaJavaTimeVersion = "2.6.0"
val ScodecBitsVersion = "1.2.4"
val ScribeVersion = "3.17.0"
val Slf4jVersion = "2.0.17"
val SourcecodeVersion = "0.4.4"
val StanfordNlpVersion = "4.5.10"
val TikaVersion = "3.2.3"
val YamuscaVersion = "0.11.0"
val SwaggerUIVersion = "5.29.3"
val TestContainerVersion = "0.43.0"
val TwelveMonkeysVersion = "3.12.0"
val JQueryVersion = "3.5.1"
val scribe = Seq(
"com.outr" %% "scribe" % ScribeVersion,
"com.outr" %% "scribe-slf4j2" % ScribeVersion
)
val sourcecode = Seq(
"com.lihaoyi" %% "sourcecode" % SourcecodeVersion
)
val jwtScala = Seq(
"com.github.jwt-scala" %% "jwt-circe" % JwtScalaVersion
)
val scodecBits = Seq(
"org.scodec" %% "scodec-bits" % ScodecBitsVersion
)
val javaOtp = Seq(
"com.eatthepath" % "java-otp" % JavaOtpVersion
)
val testContainer = Seq(
"com.dimafeng" %% "testcontainers-scala-munit" % TestContainerVersion,
"com.dimafeng" %% "testcontainers-scala-mariadb" % TestContainerVersion,
"com.dimafeng" %% "testcontainers-scala-postgresql" % TestContainerVersion
)
val cats = Seq(
"org.typelevel" %% "cats-core" % CatsVersion
)
val catsEffect = Seq(
"org.typelevel" %% "cats-effect" % CatsEffectVersion
)
val catsParse = Seq(
"org.typelevel" %% "cats-parse" % CatsParseVersion
)
val catsParseJS =
Def.setting("org.typelevel" %%% "cats-parse" % CatsParseVersion)
val scalaJsStubs =
"org.scala-js" %% "scalajs-stubs" % "1.1.0" % "provided"
val catsJS = Def.setting("org.typelevel" %%% "cats-core" % "2.4.2")
val scalaJavaTime =
Def.setting("io.github.cquiroz" %%% "scala-java-time" % ScalaJavaTimeVersion)
val kittens = Seq(
"org.typelevel" %% "kittens" % KittensVersion
)
val calevCore = Seq(
"com.github.eikek" %% "calev-core" % CalevVersion
)
val calevFs2 = Seq(
"com.github.eikek" %% "calev-fs2" % CalevVersion
)
val calevCirce = Seq(
"com.github.eikek" %% "calev-circe" % CalevVersion
)
val jclOverSlf4j = Seq(
"org.slf4j" % "jcl-over-slf4j" % Slf4jVersion
)
val poi = Seq(
"org.apache.poi" % "poi" % PoiVersion,
"org.apache.poi" % "poi-ooxml" % PoiVersion,
"org.apache.poi" % "poi-scratchpad" % PoiVersion
).map(
_.excludeAll(
ExclusionRule("commons-logging")
)
) ++ jclOverSlf4j
// https://github.com/vsch/flexmark-java
// BSD 2-Clause
val flexmark = Seq(
"com.vladsch.flexmark" % "flexmark" % FlexmarkVersion,
"com.vladsch.flexmark" % "flexmark-ext-tables" % FlexmarkVersion,
"com.vladsch.flexmark" % "flexmark-ext-gfm-strikethrough" % FlexmarkVersion
).map(
_.excludeAll(
ExclusionRule("junit"),
ExclusionRule("hamcrest-core")
)
)
val twelvemonkeys = Seq(
"com.twelvemonkeys.imageio" % "imageio-jpeg" % TwelveMonkeysVersion,
"com.twelvemonkeys.imageio" % "imageio-tiff" % TwelveMonkeysVersion
)
val levigoJbig2 = Seq(
"com.levigo.jbig2" % "levigo-jbig2-imageio" % LevigoJbig2Version
)
val pdfbox = Seq(
("org.apache.pdfbox" % "pdfbox" % PdfboxVersion).excludeAll(
ExclusionRule("org.bouncycastle"),
ExclusionRule("commons-logging")
)
) ++ jclOverSlf4j ++ levigoJbig2
val emilCommon = Seq(
"com.github.eikek" %% "emil-common" % EmilVersion
)
val emil = Seq(
"com.github.eikek" %% "emil-common" % EmilVersion,
"com.github.eikek" %% "emil-javamail" % EmilVersion
)
val emilDoobie = Seq(
"com.github.eikek" %% "emil-doobie" % EmilVersion
)
val emilTnef = Seq(
("com.github.eikek" %% "emil-tnef" % EmilVersion).excludeAll(
ExclusionRule("org.apache.poi")
)
)
val emilMarkdown = Seq(
"com.github.eikek" %% "emil-markdown" % EmilVersion
)
val emilJsoup = Seq(
"com.github.eikek" %% "emil-jsoup" % EmilVersion
)
val jsoup = Seq(
"org.jsoup" % "jsoup" % JsoupVersion
)
val stanfordNlpCore = Seq(
("edu.stanford.nlp" % "stanford-corenlp" % StanfordNlpVersion).excludeAll(
ExclusionRule("com.io7m.xom", "xom"),
ExclusionRule("javax.servlet", "javax.servlet-api"),
ExclusionRule("org.apache.lucene", "lucene-queryparser"),
ExclusionRule("org.apache.lucene", "lucene-queries"),
ExclusionRule("org.apache.lucene", "lucene-analyzers-common"),
ExclusionRule("org.apache.lucene", "lucene-core"),
ExclusionRule("com.sun.xml.bind", "jaxb-impl"),
ExclusionRule("com.sun.xml.bind", "jaxb-core"),
ExclusionRule("javax.xml.bind", "jaxb-api"),
ExclusionRule("javax.activation"),
ExclusionRule("junit", "junit"),
ExclusionRule("de.jollyday", "jollyday"),
ExclusionRule("com.apple", "AppleJavaExtensions"),
ExclusionRule("org.glassfish", "javax.json")
)
)
val stanfordNlpModels = {
val artifact = "edu.stanford.nlp" % "stanford-corenlp" % StanfordNlpVersion
Seq(
artifact.classifier("models"),
artifact.classifier("models-german"),
artifact.classifier("models-french"),
artifact.classifier("models-english"),
artifact.classifier("models-spanish")
)
}
val tika = Seq(
"org.apache.tika" % "tika-core" % TikaVersion
)
val commonsIO = Seq(
"commons-io" % "commons-io" % "2.20.0"
)
val tikaParser = Seq(
"org.apache.tika" % "tika-parsers" % TikaVersion
)
val bcrypt = Seq(
"org.mindrot" % "jbcrypt" % BcryptVersion
)
val fs2Core = Seq(
"co.fs2" %% "fs2-core" % Fs2Version
)
val fs2Io = Seq(
"co.fs2" %% "fs2-io" % Fs2Version
)
val fs2 = fs2Core ++ fs2Io
val http4sClient = Seq(
"org.http4s" %% "http4s-ember-client" % Http4sVersion
)
val http4sCirce = Seq(
"org.http4s" %% "http4s-circe" % Http4sVersion
)
val http4sDsl = Seq(
"org.http4s" %% "http4s-dsl" % Http4sVersion
)
val http4sServer = Seq(
"org.http4s" %% "http4s-ember-server" % Http4sVersion
)
val circeCore = Seq(
"io.circe" %% "circe-core" % CirceVersion
)
val circeParser = Seq(
"io.circe" %% "circe-parser" % CirceVersion
)
val circe =
circeCore ++ circeParser ++ Seq(
"io.circe" %% "circe-generic" % CirceVersion
)
val circeGenericExtra = circeCore ++ Seq(
"io.circe" %% "circe-generic-extras" % CirceGenericExtrasVersion
)
val circeYaml = circeCore ++ Seq(
"io.circe" %% "circe-yaml" % CirceYamlVersion
)
// https://github.com/melrief/pureconfig
// MPL 2.0
val pureconfig = Seq(
"com.github.pureconfig" %% "pureconfig" % PureConfigVersion
)
val pureconfigIp4s = Seq(
"com.github.pureconfig" %% "pureconfig-ip4s" % PureConfigVersion
)
// https://github.com/h2database/h2database
// MPL 2.0 or EPL 1.0
val h2 = Seq(
"com.h2database" % "h2" % H2Version
)
val mariadb = Seq(
"org.mariadb.jdbc" % "mariadb-java-client" % MariaDbVersion
)
val postgres = Seq(
"org.postgresql" % "postgresql" % PostgresVersion
)
val databases = h2 ++ mariadb ++ postgres
// https://github.com/tpolecat/doobie
// MIT
val doobie = Seq(
"org.tpolecat" %% "doobie-core" % DoobieVersion,
"org.tpolecat" %% "doobie-hikari" % DoobieVersion
)
val binny = Seq(
"com.github.eikek" %% "binny-core" % BinnyVersion,
"com.github.eikek" %% "binny-jdbc" % BinnyVersion,
"com.github.eikek" %% "binny-minio" % BinnyVersion,
"com.github.eikek" %% "binny-fs" % BinnyVersion
)
// https://github.com/flyway/flyway
// ASL 2.0
val flyway = Seq(
"org.flywaydb" % "flyway-core" % FlywayVersion,
"org.flywaydb" % "flyway-database-postgresql" % FlywayVersion,
"org.flywaydb" % "flyway-mysql" % FlywayVersion
)
val yamusca = Seq(
"com.github.eikek" %% "yamusca-core" % YamuscaVersion,
"com.github.eikek" %% "yamusca-derive" % YamuscaVersion
)
val yamuscaCirce = Seq(
"com.github.eikek" %% "yamusca-circe" % YamuscaVersion
)
val munit = Seq(
"org.scalameta" %% "munit" % MUnitVersion,
"org.scalameta" %% "munit-scalacheck" % MUnitVersion,
"org.typelevel" %% "munit-cats-effect" % MUnitCatsEffectVersion
)
val kindProjectorPlugin = "org.typelevel" %% "kind-projector" % KindProjectorVersion
val betterMonadicFor = "com.olegpy" %% "better-monadic-for" % BetterMonadicForVersion
val webjars = Seq(
"org.webjars" % "swagger-ui" % SwaggerUIVersion,
"org.webjars" % "clipboard.js" % ClipboardJsVersion,
"org.webjars.npm" % "pdfjs-dist-viewer-min" % PdfjsViewerVersion
)
val icu4j = Seq(
"com.ibm.icu" % "icu4j" % Icu4jVersion
)
}