-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
46 lines (38 loc) · 1.55 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
name := "weather-service"
version := "1.0"
scalaVersion := "2.11.8"
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
Resolver.bintrayRepo("cakesolutions", "maven")
)
enablePlugins(
JavaAppPackaging,
DockerPlugin,
AshScriptPlugin)
libraryDependencies ++= {
val sprayVersion = "1.3.2"
Seq (
"com.typesafe.akka" %% "akka-actor" % "2.4.4"
// -- Spray --
,"io.spray" %% "spray-can" % sprayVersion
,"io.spray" %% "spray-routing" % sprayVersion
,"io.spray" %% "spray-json" % sprayVersion
,"io.spray" %% "spray-http" % sprayVersion
// -- Logging --
,"ch.qos.logback" % "logback-classic" % "1.1.3"
,"com.typesafe.scala-logging" %% "scala-logging" % "3.1.0"
,"com.typesafe.akka" %% "akka-testkit" % "2.4.4" % "test"
// -- time --
,"joda-time" % "joda-time" % "2.7"
// -- config --
,"com.typesafe" % "config" % "1.2.1"
// -- database --
,"com.typesafe.slick" %% "slick" % "3.1.1"
//PostgreSQL
,"org.postgresql" % "postgresql" % "9.4-1206-jdbc4"
//mySQL
,"mysql" % "mysql-connector-java" % "5.1.34"
,"org.typelevel" %% "cats-effect" % "0.10.1"
)}
mainClass in Compile := Some("com.redbee.weather.MainApp")
dockerBaseImage := "openjdk:jre-alpine"