-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
52 lines (42 loc) · 1.76 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
48
49
50
51
52
name := """play-microservices"""
organization := "com.emprovise"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.13.2"
libraryDependencies ++= Seq(ehcache)
libraryDependencies += filters
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "4.0.3" % Test
libraryDependencies ++= Seq(
"mysql" % "mysql-connector-java" % "8.0.19",
"org.json4s" %% "json4s-jackson" % "3.6.7",
"org.json4s" %% "json4s-ext" % "3.6.7",
"com.typesafe.play" %% "play-slick" % "5.0.0",
"com.typesafe.play" %% "play-slick-evolutions" % "5.0.0",
"com.typesafe.play" %% "play-ws" % "2.8.0",
"com.softwaremill.sttp" %% "core" % "1.7.2",
"com.softwaremill.sttp" %% "async-http-client-backend-future" % "1.7.2" exclude("org.slf4j", "slf4j-api"),
"org.scalatest" %% "scalatest" % "3.1.1" % Test,
"com.cwbase" % "logback-redis-appender" % "1.1.2"
)
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-Xfatal-warnings"
)
// disable scala documentation due to error https://github.com/scala/bug/issues/11955
sources in (Compile,doc) := Seq.empty
publishArtifact in (Compile, packageDoc) := false
lazy val gatlingVersion = "3.3.1"
lazy val gatling = (project in file("gatling"))
.enablePlugins(GatlingPlugin)
.settings(
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion % Test,
"io.gatling" % "gatling-test-framework" % gatlingVersion % Test
)
)
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "com.emprovise.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "com.emprovise.binders._"