This repository has been archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
44 lines (38 loc) · 1.87 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
name := "central-kms"
scalaVersion := "2.12.1"
val akkaVersion = "2.4.17"
val akkaHttpVersion = "10.0.5"
val slickVersion = "3.2.0"
val json4sVersion = "3.5.2"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"org.json4s" %% "json4s-native" % json4sVersion,
"org.json4s" %% "json4s-ext" % json4sVersion,
"de.heikoseeberger" %% "akka-http-json4s" % "1.16.1",
"org.bouncycastle" % "bcprov-jdk15on" % "1.57",
"com.typesafe.slick" %% "slick" % slickVersion,
"com.typesafe.slick" %% "slick-hikaricp" % slickVersion exclude("com.zaxxer.HikariCP", "HikariCP"),
"com.google.inject" % "guice" % "4.1.0",
"com.tzavellas" % "sse-guice" % "0.7.1" exclude("com.google.inject", "guice"),
"net.codingwell" % "scala-guice_2.12" % "4.1.0",
"org.flywaydb" % "flyway-core" % "4.1.2",
"org.postgresql" % "postgresql" % "42.0.0",
"ch.qos.logback" % "logback-classic" % "1.1.3",
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.zaxxer" % "HikariCP" % "2.6.1",
"org.scalatest" %% "scalatest" % "3.0.3" % Test,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHttpVersion % Test,
"org.mockito" % "mockito-core" % "2.8.9" % Test
)
scalacOptions ++= Seq("-feature", "-deprecation", "-unchecked")
logBuffered in Test := false
parallelExecution in Test := false
enablePlugins(JavaServerAppPackaging)
enablePlugins(DockerPlugin)
enablePlugins(AshScriptPlugin)
enablePlugins(GitVersioning)
packageName in Docker := "mojaloop/central-kms"
dockerBaseImage := "openjdk:8-jdk-alpine"
dockerExposedPorts := Seq(8080)
dockerUpdateLatest := true