-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
37 lines (29 loc) · 1.23 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
name := """MeritServer"""
organization := "tafli"
scalaVersion := "2.12.1"
version := "0.5.2"
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8")
libraryDependencies ++= {
val akkaVersion = "2.4.16"
val akkaHttpVersion = "10.0.3"
val akkaHttpCorsVersion = "0.1.11"
val scalaTestVersion = "3.0.1"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-agent" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion,
"ch.megard" %% "akka-http-cors" % akkaHttpCorsVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % "test"
)
}
parallelExecution in Test := false
enablePlugins(JavaAppPackaging)
enablePlugins(DockerPlugin)
//dockerBaseImage := "frolvlad/alpine-oraclejdk8:slim"
dockerUpdateLatest := true
maintainer in Docker := "Andreas Boss <andi@theboss.ch>"
packageSummary in Docker := "A simple web service to track merits"
packageDescription := "A docker image with a simple web service to track merits"
dockerRepository := Some("tafli")