forked from opentargets/genetics-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (39 loc) · 1.94 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
import com.typesafe.sbt.packager.MappingsHelper._
name := """ot-genetics-api"""
organization := "io.opentargets"
version := "latest"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.12.15"
maintainer := "[email protected]"
javacOptions ++= Seq("-encoding", "UTF-8")
ThisBuild / scalacOptions ++= Seq("-language:_", "-Ypartial-unification", "-Xfatal-warnings")
// include resources into the unversal zipped package
Universal / mappings ++= directory(baseDirectory.value / "resources")
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies ++= Seq(
guice,
"com.github.pathikrit" %% "better-files" % "3.9.1",
"com.typesafe.slick" %% "slick" % "3.3.3",
"org.scalatestplus.play" %% "scalatestplus-play" % "5.1.0" % Test,
"org.scalatestplus" %% "scalacheck-1-15" % "3.2.8.0" % Test,
"com.nrinaudo" %% "kantan.csv" % "0.4.0",
"com.nrinaudo" %% "kantan.csv-generic" % "0.4.0",
)
val playVersion = "2.8.8"
libraryDependencies += "com.typesafe.play" %% "play" % playVersion
libraryDependencies += "com.typesafe.play" %% "filters-helpers" % playVersion
libraryDependencies += "com.typesafe.play" %% "play-logback" % playVersion
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.9.2"
libraryDependencies += "com.typesafe.play" %% "play-streams" % playVersion
libraryDependencies += "com.typesafe.play" %% "play-slick" % "5.0.0"
val sangriaVersion = "2.1.3"
libraryDependencies += "ru.yandex.clickhouse" % "clickhouse-jdbc" % "0.3.1-patch"
libraryDependencies += "org.sangria-graphql" %% "sangria" % sangriaVersion
libraryDependencies += "org.sangria-graphql" %% "sangria-play-json" % "2.0.1"
val s4sVersion = "7.12.2"
libraryDependencies ++= Seq(
"com.sksamuel.elastic4s" %% "elastic4s-core" % s4sVersion,
"com.sksamuel.elastic4s" %% "elastic4s-client-esjava" % s4sVersion,
"com.sksamuel.elastic4s" %% "elastic4s-http-streams" % s4sVersion,
"com.sksamuel.elastic4s" %% "elastic4s-json-play" % s4sVersion
)