-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
40 lines (33 loc) · 1.49 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
organization := "com.zhranklin.blog"
version := "0.1"
scalaVersion := "2.12.0"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
resolvers += "spray repo" at "http://repo.spray.io"
libraryDependencies ++= {
val akkaV = "2.4.11"
val akka_httpV = "10.0.0"
Seq(
"com.typesafe.akka" %% "akka-http" % akka_httpV,
// "com.typesafe.akka" %% "akka-http-testkit" % akka_httpV % "test",
// "com.typesafe.akka" %% "akka-actor" % akkaV,
// "com.typesafe.akka" %% "akka-testkit" % akkaV % "test",
"com.typesafe.play" %% "twirl-api" % "1.3.0",
"de.heikoseeberger" %% "akka-http-json4s" % "1.11.0",
"org.json4s" %% "json4s-jackson" % "3.5.0",
"org.scalatest" %% "scalatest" % "3.0.1" % "test",
"org.jsoup" % "jsoup" % "1.9.2",
// "org.mongodb" %% "casbah" % "3.1.1",
"org.slf4j" % "slf4j-simple" % "1.7.21",
"org.scalikejdbc" %% "scalikejdbc" % "2.5.0",
"com.h2database" % "h2" % "1.4.193"
)
}
Revolver.settings
lazy val root = (project in file(".")).enablePlugins(SbtTwirl)
mainClass in assembly := Some("com.zhranklin.homepage.Boot")
assemblyMergeStrategy in assembly := {
case PathList("akka", "http", xs @ _*) => MergeStrategy.first
case x ⇒
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}