-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
47 lines (37 loc) · 1.59 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
47
name := """weather-service-play"""
organization := "com.weather"
version := "1.0.0"
lazy val root = (project in file("."))
.enablePlugins(PlayScala, DockerPlugin)
.configs(IntegrationTest)
.settings(Defaults.itSettings)
scalaSource in IntegrationTest := baseDirectory.value / "it"
scalaVersion := "2.12.10"
val circeVersion = "0.13.0"
val akkaVersion = "2.5.26"
libraryDependencies ++= Seq(
ws,
guice,
"com.dripower" %% "play-circe" % "2712.0",
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-generic-extras" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-java8" % "0.11.1",
"com.typesafe.play" %% "play-slick" % "4.0.2",
"com.typesafe.play" %% "play-slick-evolutions" % "4.0.2",
"mysql" % "mysql-connector-java" % "8.0.17",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-actor-typed" % akkaVersion,
"org.scalatestplus.play" %% "scalatestplus-play" % "5.0.0" % Test,
"org.mockito" % "mockito-core" % "3.0.0" % Test,
"com.dimafeng" %% "testcontainers-scala" % "0.29.0" % "it,test",
"org.testcontainers" % "mysql" % "1.12.0" % "it,test"
)
javaOptions in Universal ++= Seq(
"-Dpidfile.path=/dev/null"
)
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "com.weather.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "com.weather.binders._"