-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
41 lines (32 loc) · 1.31 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
name := "akka-http-rest-api"
version := "1.0"
scalaVersion := "2.11.7"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= {
val akkaV = "2.3.13"
val akkaStreamV = "1.0"
val slickV = "3.0.3"
val postgresV = "9.4-1202-jdbc42"
val rediscalaV = "1.4.0"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaV,
"com.typesafe.akka" %% "akka-stream-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-core-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-experimental" % akkaStreamV,
"com.typesafe.akka" %% "akka-http-testkit-experimental" % akkaStreamV % "test",
"com.typesafe.akka" %% "akka-http-spray-json-experimental" % akkaStreamV,
"com.typesafe.slick" %% "slick" % slickV,
"org.postgresql" % "postgresql" % postgresV,
"com.etaty.rediscala" %% "rediscala" % rediscalaV,
"joda-time" % "joda-time" % "2.8.2",
"org.mindrot" % "jbcrypt" % "0.3m",
"org.flywaydb" % "flyway-core" % "3.2.1",
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"com.h2database" % "h2" % "1.4.190"
)
}
seq(flywaySettings: _*)
flywayUrl := "jdbc:postgresql://localhost:5432/rest_api_app"
flywayUser := "postgres"
flywayPassword := "postgres"