-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (31 loc) · 1.06 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
name := "ScalaAkkaHttp"
organization := "org.bibliarij"
version := "0.0.1"
scalaVersion in ThisBuild := "2.12.3"
libraryDependencies ++= Seq(
// config
"com.typesafe" % "config" % "1.3.0"
// json
//, "io.spray" %% "spray-json" % "1.3.3"
// logging
, "org.slf4j" % "slf4j-api" % "1.7.12"
, "ch.qos.logback" % "logback-classic" % "1.1.3"
// db
//, "org.postgresql" % "postgresql" % "9.4-1201-jdbc41"
//, "io.ratpack" % "ratpack-hikari" % "0.9.18"
//, "org.xerial" % "sqlite-jdbc" % "3.20.1"
// akka
, "com.typesafe.akka" %% "akka-http" % "10.0.10"
, "com.typesafe.akka" %% "akka-http-spray-json" % "10.0.10"
,"com.lihaoyi" %% "scalatags" % "0.6.2"
// testing
//, "org.scalatest" %% "scalatest" % "3.0.4" % "test"
//, "org.mockito" % "mockito-core" % "1.9.5" % "test"
)
assemblyMergeStrategy in assembly := {
case PathList("javax", "ws", _@_*) => MergeStrategy.last
case x if x.endsWith("io.netty.versions.properties") => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}