-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
46 lines (35 loc) · 1.31 KB
/
Copy pathbuild.sbt
File metadata and controls
46 lines (35 loc) · 1.31 KB
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
lazy val root = (project in file(".")).enablePlugins(JavaAppPackaging)
name := "akka-http-sample-with-docker"
version := "1.0"
scalaVersion := "2.11.8"
packageName in Docker := "akka-http-sample-with-docker"
dockerExposedPorts := Seq(5000)
scalacOptions in Test ++= Seq("-Yrangepos")
libraryDependencies ++= {
val akkaV = "2.4.7"
val scalaTestV = "2.2.6"
val slickV = "3.2.3"
val slf4jV = "1.6.4"
val mysqlConnV = "8.0.11"
Seq(
// AKKA Specific dependencies
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-slf4j" % akkaV,
"com.typesafe.akka" %% "akka-stream" % akkaV,
"com.typesafe.akka" %% "akka-http-experimental" % akkaV,
"com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaV,
"com.typesafe.akka" %% "akka-http-testkit" % akkaV,
"org.scalatest" %% "scalatest" % scalaTestV % "test",
// SLICK Specific dependencies
"com.typesafe.slick" %% "slick" % slickV,
"com.typesafe.slick" %% "slick-hikaricp" % slickV,
"com.typesafe.slick" %% "slick-codegen" % slickV,
"org.slf4j" % "slf4j-nop" % slf4jV,
"mysql" % "mysql-connector-java" % mysqlConnV,
// SPECS2 dependencies
"org.specs2" %% "specs2-core" % "4.2.0" % "test"
)
}
unmanagedResourceDirectories in Compile += {
baseDirectory.value / "src/main/resources"
}