-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
69 lines (59 loc) · 2.3 KB
/
build.sbt
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
name := "tap-api"
version := "2.0.2"
scalaVersion := "2.12.3"
organization := "au.edu.utscic"
// RUN sbt dependencyUpdates to check dependency version
// RUN sbt universal:packageZipTarball to create a tar package for upload to server
// ensure that JavaAppPackaging is enabled - disable for Travis CI
//enablePlugins(JavaAppPackaging)
//Scala library versions
val akkaVersion = "2.5.3"
val akkaStreamVersion = "2.5.3"
val akkaHttpVersion = "10.0.9"
val akkaHttpJson4sVersion = "1.17.0"
val json4sVersion = "3.5.2"
val slickVersion = "3.2.1"
val slickpgVersion = "0.15.2"
val slf4jVersion = "1.7.25"
val logbackVersion = "1.2.3"
val scalatestVersion = "3.0.3"
val nlytxCommonsVersion = "0.1.1"
//Java library versions
val postgresDriverVersion = "42.1.3"
val openNlpVersion = "1.8.1"
val nlp4jVersion = "1.1.3"
//Akka
libraryDependencies ++= Seq(
"com.typesafe.akka" % "akka-stream_2.12" % akkaStreamVersion,
"com.typesafe.akka" % "akka-stream-testkit_2.12" % akkaStreamVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion
)
//NLP dependencies
libraryDependencies ++= Seq(
"org.apache.opennlp" % "opennlp-tools" % openNlpVersion,
"edu.emory.mathcs.nlp" % "nlp4j-api" % nlp4jVersion,
"edu.emory.mathcs.nlp" % "nlp4j-english" % nlp4jVersion
//"edu.emory.clir" % "clearnlp" % "3.2.0"
)
//Slick
libraryDependencies ++= Seq(
"com.typesafe.slick" %% "slick" % slickVersion,
"com.typesafe.slick" %% "slick-hikaricp" % slickVersion,
"org.postgresql" % "postgresql" % postgresDriverVersion,
"com.github.tminglei" %% "slick-pg" % slickpgVersion,
"com.github.tminglei" %% "slick-pg_json4s" % slickpgVersion
)
//General
libraryDependencies ++= Seq(
"io.nlytx" %% "commons" % nlytxCommonsVersion,
// "com.typesafe" % "config" % "1.3.1",
"org.json4s" %% "json4s-jackson" % json4sVersion,
"de.heikoseeberger" %% "akka-http-json4s" % akkaHttpJson4sVersion,
"org.scalatest" %% "scalatest" % scalatestVersion % "test",
"org.slf4j" % "jcl-over-slf4j" % slf4jVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion
)
scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/src/main/scala/root-doc.md")
resolvers += Resolver.bintrayRepo("nlytx", "nlytx_commons")