-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
57 lines (45 loc) · 1.77 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
57
name := "ClassOrchestrationAPI"
organization := "me.archdev"
version := "1.0.0"
scalaVersion := "2.12.1"
libraryDependencies ++= {
val akkaV = "10.0.5"
val scalaTestV = "3.0.1"
val slickVersion = "3.2.0"
val circeV = "0.6.1"
val slickpg = "0.15.0-RC"
Seq(
"com.typesafe.akka" %% "akka-http-core" % akkaV,
"com.typesafe.akka" %% "akka-http" % akkaV,
"de.heikoseeberger" %% "akka-http-circe" % "1.15.0",
"com.typesafe.slick" %% "slick" % slickVersion,
"org.postgresql" % "postgresql" % "9.4-1201-jdbc41",
"com.github.tminglei" %% "slick-pg" % slickpg,
"com.github.tminglei" %% "slick-pg_joda-time" % slickpg,
"com.github.tminglei" %% "slick-pg_circe-json" % slickpg,
"com.github.tminglei" %% "slick-pg_jts" % slickpg,
"com.github.tminglei" %% "slick-pg_json4s" % slickpg,
"com.github.tminglei" %% "slick-pg_play-json" % slickpg,
"com.github.tminglei" %% "slick-pg_spray-json" % slickpg,
"com.github.tminglei" %% "slick-pg_argonaut" % slickpg,
"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"
)
}
libraryDependencies ++= Seq(
"com.h2database" % "h2" % "1.4.191"
)
flywayUrl := "jdbc:h2:file:./target/foobar"
flywayUser := "SA"
Revolver.settings
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
dockerExposedPorts := Seq(9000)
dockerEntrypoint := Seq("bin/%s" format executableScriptName.value, "-Dconfig.resource=docker.conf")