-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
62 lines (48 loc) · 1.96 KB
/
build.sbt
File metadata and controls
62 lines (48 loc) · 1.96 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name := "events-api"
organization := "vitalcode"
version := "0.0.1"
scalaVersion := "2.11.8"
libraryDependencies ++= {
val akkaHttpV = "10.0.0"
val scalaTestV = "3.0.0-M15"
val slickVersion = "3.1.1"
val circeV = "0.6.0"
val macwireV = "2.2.2"
val eventsModelV = "0.0.1"
val jwtV = "0.9.2"
val sprayJsonV = "1.3.2"
Seq(
"com.typesafe.akka" %% "akka-http-core" % akkaHttpV,
"com.typesafe.akka" %% "akka-http" % akkaHttpV,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpV,
"de.heikoseeberger" %% "akka-http-circe" % "1.11.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",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-generic" % circeV,
"io.circe" %% "circe-parser" % circeV,
"io.spray" %% "spray-json" % sprayJsonV,
"com.pauldijou" %% "jwt-core" % jwtV,
"org.sangria-graphql" %% "sangria" % "0.7.3",
"org.sangria-graphql" %% "sangria-spray-json" % "0.3.1",
"com.sksamuel.elastic4s" %% "elastic4s-core" % "1.7.5",
"com.sksamuel.elastic4s" %% "elastic4s-testkit" % "1.7.5" % "test",
"org.scalatest" %% "scalatest" % scalaTestV % "test",
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpV % "test",
"ru.yandex.qatools.embed" % "postgresql-embedded" % "1.13" % "test",
"com.softwaremill.macwire" %% "macros" % macwireV % "provided",
"com.softwaremill.macwire" %% "util" % macwireV,
"com.softwaremill.macwire" %% "proxy" % macwireV,
"vitalcode" %% "events-model" % eventsModelV
)
}
Revolver.settings
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
parallelExecution in Test := false
dockerExposedPorts := Seq(9000)
dockerEntrypoint := Seq("bin/%s" format executableScriptName.value, "-Dconfig.resource=docker.conf")