2019-07-22 22:53:30 +00:00
|
|
|
package docspell.build
|
|
|
|
|
2019-07-17 20:03:10 +00:00
|
|
|
import sbt._
|
|
|
|
|
|
|
|
object Dependencies {
|
|
|
|
|
2019-07-22 22:53:30 +00:00
|
|
|
val BcryptVersion = "0.4"
|
|
|
|
val BetterMonadicForVersion = "0.3.1"
|
2020-03-28 15:14:53 +00:00
|
|
|
val BitpeaceVersion = "0.4.5"
|
2020-04-02 00:10:32 +00:00
|
|
|
val CalevVersion = "0.2.0"
|
2020-02-08 01:16:39 +00:00
|
|
|
val CirceVersion = "0.13.0"
|
2020-04-05 22:15:28 +00:00
|
|
|
val DoobieVersion = "0.9.0"
|
2020-03-24 22:03:18 +00:00
|
|
|
val EmilVersion = "0.4.0"
|
2019-07-17 20:03:10 +00:00
|
|
|
val FastparseVersion = "2.1.3"
|
2020-04-04 18:09:33 +00:00
|
|
|
val FlexmarkVersion = "0.61.0"
|
2020-04-06 18:11:55 +00:00
|
|
|
val FlywayVersion = "6.3.3"
|
2020-03-20 21:46:36 +00:00
|
|
|
val Fs2Version = "2.3.0"
|
2019-10-28 11:13:32 +00:00
|
|
|
val H2Version = "1.4.200"
|
2020-04-02 06:14:42 +00:00
|
|
|
val Http4sVersion = "0.21.3"
|
2020-03-23 21:43:15 +00:00
|
|
|
val Icu4jVersion = "66.1"
|
2019-07-17 20:03:10 +00:00
|
|
|
val KindProjectorVersion = "0.10.3"
|
|
|
|
val Log4sVersion = "1.8.2"
|
|
|
|
val LogbackVersion = "1.2.3"
|
2020-03-20 08:08:34 +00:00
|
|
|
val MariaDbVersion = "2.6.0"
|
2020-04-05 14:11:22 +00:00
|
|
|
val MiniTestVersion = "2.8.1"
|
2020-02-24 23:10:43 +00:00
|
|
|
val PdfboxVersion = "2.0.19"
|
2020-02-27 21:12:23 +00:00
|
|
|
val PoiVersion = "4.1.2"
|
2020-04-01 00:37:29 +00:00
|
|
|
val PostgresVersion = "42.2.12"
|
2020-02-29 15:51:38 +00:00
|
|
|
val PureConfigVersion = "0.12.3"
|
2020-02-15 15:40:50 +00:00
|
|
|
val Slf4jVersion = "1.7.30"
|
2019-12-28 11:38:11 +00:00
|
|
|
val SqliteVersion = "3.30.1"
|
2019-07-22 22:53:30 +00:00
|
|
|
val StanfordNlpVersion = "3.9.2"
|
2020-03-17 15:43:17 +00:00
|
|
|
val TikaVersion = "1.24"
|
2019-10-28 11:13:32 +00:00
|
|
|
val YamuscaVersion = "0.6.1"
|
2020-02-10 09:18:20 +00:00
|
|
|
val SwaggerUIVersion = "3.25.0"
|
2020-02-08 16:51:47 +00:00
|
|
|
val SemanticUIVersion = "2.4.1"
|
2020-02-18 20:32:21 +00:00
|
|
|
val TwelveMonkeysVersion = "3.5"
|
2020-02-08 16:51:47 +00:00
|
|
|
val JQueryVersion = "3.4.1"
|
|
|
|
val ViewerJSVersion = "0.5.8"
|
2020-02-11 21:46:23 +00:00
|
|
|
|
|
|
|
|
2020-03-08 14:26:56 +00:00
|
|
|
val calevCore = Seq(
|
2020-03-08 01:48:47 +00:00
|
|
|
"com.github.eikek" %% "calev-core" % CalevVersion,
|
2020-03-08 14:26:56 +00:00
|
|
|
)
|
|
|
|
val calevFs2 = Seq(
|
2020-03-08 01:48:47 +00:00
|
|
|
"com.github.eikek" %% "calev-fs2" % CalevVersion
|
|
|
|
)
|
2020-03-08 14:26:56 +00:00
|
|
|
val calev = calevFs2 ++ calevCore
|
2020-03-08 01:48:47 +00:00
|
|
|
|
2020-02-16 20:37:26 +00:00
|
|
|
val jclOverSlf4j = Seq(
|
|
|
|
"org.slf4j" % "jcl-over-slf4j" % Slf4jVersion
|
|
|
|
)
|
|
|
|
val julOverSlf4j = Seq(
|
|
|
|
"org.slf4j" % "jul-to-slf4j" % Slf4jVersion
|
|
|
|
)
|
|
|
|
|
2020-02-11 21:46:23 +00:00
|
|
|
val poi = Seq(
|
|
|
|
"org.apache.poi" % "poi" % PoiVersion,
|
|
|
|
"org.apache.poi" % "poi-ooxml" % PoiVersion,
|
2020-02-16 20:37:26 +00:00
|
|
|
"org.apache.poi" % "poi-scratchpad" % PoiVersion,
|
2020-02-11 21:46:23 +00:00
|
|
|
).map(_.excludeAll(
|
2020-02-16 20:37:26 +00:00
|
|
|
ExclusionRule("commons-logging")
|
|
|
|
)) ++ jclOverSlf4j
|
2020-02-11 21:46:23 +00:00
|
|
|
|
2020-02-10 23:33:52 +00:00
|
|
|
// 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")
|
|
|
|
))
|
|
|
|
|
2020-02-18 20:32:21 +00:00
|
|
|
val twelvemonkeys = Seq(
|
|
|
|
"com.twelvemonkeys.imageio" % "imageio-jpeg" % TwelveMonkeysVersion,
|
|
|
|
"com.twelvemonkeys.imageio" % "imageio-tiff" % TwelveMonkeysVersion
|
|
|
|
)
|
2020-02-15 15:40:50 +00:00
|
|
|
|
2020-02-10 23:33:52 +00:00
|
|
|
val pdfbox = Seq(
|
2020-02-16 20:37:26 +00:00
|
|
|
"org.apache.pdfbox" % "pdfbox" % PdfboxVersion excludeAll (
|
|
|
|
ExclusionRule("org.bouncycastle"),
|
|
|
|
ExclusionRule("commons-logging")
|
|
|
|
)
|
|
|
|
) ++ jclOverSlf4j
|
2019-07-17 20:03:10 +00:00
|
|
|
|
2020-01-04 23:12:23 +00:00
|
|
|
val emil = Seq(
|
|
|
|
"com.github.eikek" %% "emil-common" % EmilVersion,
|
|
|
|
"com.github.eikek" %% "emil-javamail" % EmilVersion
|
|
|
|
)
|
2020-03-24 22:03:18 +00:00
|
|
|
val emilDoobie = Seq(
|
|
|
|
"com.github.eikek" %% "emil-doobie" % EmilVersion,
|
|
|
|
)
|
|
|
|
val emilTnef = Seq(
|
|
|
|
"com.github.eikek" %% "emil-tnef" % EmilVersion,
|
|
|
|
)
|
2020-01-04 23:12:23 +00:00
|
|
|
|
2019-07-22 22:53:30 +00:00
|
|
|
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("de.jollyday", "jollyday"),
|
|
|
|
ExclusionRule("com.apple", "AppleJavaExtensions"),
|
|
|
|
ExclusionRule("org.glassfish", "javax.json")
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
val stanfordNlpModels = Seq(
|
|
|
|
"edu.stanford.nlp" % "stanford-corenlp" % StanfordNlpVersion classifier "models-german",
|
|
|
|
"edu.stanford.nlp" % "stanford-corenlp" % StanfordNlpVersion classifier "models-english"
|
|
|
|
)
|
|
|
|
|
|
|
|
val tika = Seq(
|
|
|
|
"org.apache.tika" % "tika-core" % TikaVersion
|
|
|
|
)
|
2020-02-16 20:37:26 +00:00
|
|
|
val commonsIO = Seq(
|
|
|
|
"commons-io" % "commons-io" % "2.6"
|
|
|
|
)
|
|
|
|
val tikaParser = Seq(
|
|
|
|
"org.apache.tika" % "tika-parsers" % TikaVersion
|
|
|
|
)
|
2019-07-22 22:53:30 +00:00
|
|
|
|
|
|
|
val bcrypt = Seq(
|
|
|
|
"org.mindrot" % "jbcrypt" % BcryptVersion
|
|
|
|
)
|
2019-07-17 20:03:10 +00:00
|
|
|
|
|
|
|
val fs2 = Seq(
|
2019-07-22 22:53:30 +00:00
|
|
|
"co.fs2" %% "fs2-core" % Fs2Version,
|
|
|
|
"co.fs2" %% "fs2-io" % Fs2Version
|
2019-07-17 20:03:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
val http4s = Seq(
|
|
|
|
"org.http4s" %% "http4s-blaze-server" % Http4sVersion,
|
|
|
|
"org.http4s" %% "http4s-circe" % Http4sVersion,
|
|
|
|
"org.http4s" %% "http4s-dsl" % Http4sVersion,
|
|
|
|
)
|
2019-07-22 22:53:30 +00:00
|
|
|
|
|
|
|
val http4sClient = Seq(
|
|
|
|
"org.http4s" %% "http4s-blaze-client" % Http4sVersion
|
|
|
|
)
|
2019-07-17 20:03:10 +00:00
|
|
|
|
|
|
|
val circe = Seq(
|
|
|
|
"io.circe" %% "circe-generic" % CirceVersion,
|
|
|
|
"io.circe" %% "circe-parser" % CirceVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
// https://github.com/Log4s/log4s;ASL 2.0
|
|
|
|
val loggingApi = Seq(
|
|
|
|
"org.log4s" %% "log4s" % Log4sVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
val logging = Seq(
|
2019-07-22 22:53:30 +00:00
|
|
|
"ch.qos.logback" % "logback-classic" % LogbackVersion
|
2019-07-17 20:03:10 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// https://github.com/melrief/pureconfig
|
|
|
|
// MPL 2.0
|
|
|
|
val pureconfig = Seq(
|
|
|
|
"com.github.pureconfig" %% "pureconfig" % PureConfigVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
val fastparse = Seq(
|
|
|
|
"com.lihaoyi" %% "fastparse" % FastparseVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
// 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 //flyway doesn't work with newer mariadb
|
|
|
|
)
|
|
|
|
val postgres = Seq(
|
|
|
|
"org.postgresql" % "postgresql" % PostgresVersion
|
|
|
|
)
|
|
|
|
val sqlite = Seq(
|
|
|
|
"org.xerial" % "sqlite-jdbc" % SqliteVersion
|
|
|
|
)
|
|
|
|
val databases = h2 ++ mariadb ++ postgres ++ sqlite
|
|
|
|
|
|
|
|
// https://github.com/tpolecat/doobie
|
|
|
|
// MIT
|
|
|
|
val doobie = Seq(
|
|
|
|
"org.tpolecat" %% "doobie-core" % DoobieVersion,
|
|
|
|
"org.tpolecat" %% "doobie-hikari" % DoobieVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
val bitpeace = Seq(
|
|
|
|
"com.github.eikek" %% "bitpeace-core" % BitpeaceVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
// https://github.com/flyway/flyway
|
|
|
|
// ASL 2.0
|
|
|
|
val flyway = Seq(
|
|
|
|
"org.flywaydb" % "flyway-core" % FlywayVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
val yamusca = Seq(
|
|
|
|
"com.github.eikek" %% "yamusca-core" % YamuscaVersion
|
|
|
|
)
|
|
|
|
|
|
|
|
val miniTest = Seq(
|
|
|
|
// https://github.com/monix/minitest
|
|
|
|
// Apache 2.0
|
|
|
|
"io.monix" %% "minitest" % MiniTestVersion,
|
|
|
|
"io.monix" %% "minitest-laws" % MiniTestVersion
|
|
|
|
).map(_ % Test)
|
|
|
|
|
|
|
|
val kindProjectorPlugin = "org.typelevel" %% "kind-projector" % KindProjectorVersion
|
|
|
|
val betterMonadicFor = "com.olegpy" %% "better-monadic-for" % BetterMonadicForVersion
|
|
|
|
|
|
|
|
val webjars = Seq(
|
2020-02-08 16:51:47 +00:00
|
|
|
"org.webjars" % "swagger-ui" % SwaggerUIVersion,
|
|
|
|
"org.webjars" % "Semantic-UI"% SemanticUIVersion,
|
|
|
|
"org.webjars" % "jquery" % JQueryVersion,
|
|
|
|
"org.webjars" % "viewerjs" % ViewerJSVersion
|
|
|
|
)
|
2019-07-17 20:03:10 +00:00
|
|
|
|
2020-03-23 21:43:15 +00:00
|
|
|
val icu4j = Seq(
|
|
|
|
"com.ibm.icu" % "icu4j" % Icu4jVersion
|
|
|
|
)
|
2019-07-17 20:03:10 +00:00
|
|
|
}
|