forked from arhelmus/akka-http-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
38 lines (31 loc) · 1.16 KB
/
build.sbt
File metadata and controls
38 lines (31 loc) · 1.16 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
name := "akka-http-rest"
organization := "me.archdev"
version := "1.0.0"
scalaVersion := "2.11.8"
libraryDependencies ++= {
val akkaV = "2.4.10"
val scalaTestV = "3.0.0"
val slickVersion = "3.1.1"
val circeV = "0.5.1"
Seq(
"com.typesafe.akka" %% "akka-http-core" % akkaV,
"com.typesafe.akka" %% "akka-http-experimental" % akkaV,
"de.heikoseeberger" %% "akka-http-circe" % "1.6.0",
"com.typesafe.slick" %% "slick" % slickVersion,
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41",
"org.flywaydb" % "flyway-core" % "3.2.1",
"com.zaxxer" % "HikariCP" % "2.4.5",
"org.slf4j" % "slf4j-nop" % "1.6.4",
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-generic" % circeV,
"io.circe" %% "circe-parser" % circeV,
"org.scalatest" %% "scalatest" % scalaTestV % "test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaV % "test",
"ru.yandex.qatools.embed" % "postgresql-embedded" % "1.15" % "test"
)
}
Revolver.settings
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
dockerExposedPorts := Seq(9000)
dockerEntrypoint := Seq("bin/%s" format executableScriptName.value, "-Dconfig.resource=docker.conf")