forked from opentargets/genetics-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
56 lines (43 loc) · 2.18 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
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.8"
maintainer := "ops@opentargets.org"
javacOptions ++= Seq( "-encoding", "UTF-8" )
scalacOptions in ThisBuild ++= Seq(
"-language:_",
"-Ypartial-unification",
"-Xfatal-warnings"
)
// include resources into the unversal zipped package
mappings in Universal ++= directory(baseDirectory.value / "resources")
resolvers += Resolver.sonatypeRepo("releases")
libraryDependencies += guice
// libraryDependencies += "commons-io" % "commons-io" % "2.6"
libraryDependencies += "com.github.pathikrit" %% "better-files" % "3.8.0"
libraryDependencies += "org.apache.logging.log4j" %% "log4j-api-scala" % "11.0"
libraryDependencies += "com.typesafe.slick" %% "slick" % "3.2.3"
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % Test
libraryDependencies += "com.typesafe.play" %% "play" % "2.6.23"
libraryDependencies += "com.typesafe.play" %% "play-logback" % "2.6.23"
libraryDependencies += "com.typesafe.play" %% "play-json" % "2.6.13"
libraryDependencies += "com.typesafe.play" %% "play-slick" % "3.0.3"
libraryDependencies += "ru.yandex.clickhouse" % "clickhouse-jdbc" % "0.1.54"
libraryDependencies += "org.sangria-graphql" %% "sangria" % "1.4.2"
libraryDependencies += "org.sangria-graphql" %% "sangria-play-json" % "1.0.5"
libraryDependencies += "com.nrinaudo" %% "kantan.csv" % "0.4.0"
libraryDependencies += "com.nrinaudo" %% "kantan.csv-generic" % "0.4.0"
libraryDependencies ++= Seq(
// "com.sksamuel.elastic4s" %% "elastic4s-jackson" % "5.6.9",
"com.sksamuel.elastic4s" %% "elastic4s-core" % "5.6.9",
"com.sksamuel.elastic4s" %% "elastic4s-http" % "5.6.9",
"com.sksamuel.elastic4s" %% "elastic4s-play-json" % "5.6.9"
)
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "io.opentargets.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "io.opentargets.binders._"
// uri length for dev mode
// PlayKeys.devSettings := Seq("play.akka.dev-mode.akka.http.parsing.max-uri-length" -> "16k")