-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
49 lines (34 loc) · 1.4 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
name := """api"""
version := "0.0.2"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.12.4"
crossScalaVersions := Seq("2.11.12", "2.12.4")
dockerUsername := Some("tourlive")
libraryDependencies += guice
libraryDependencies += javaJpa
libraryDependencies += "org.hibernate" % "hibernate-core" % "5.2.15.Final"
libraryDependencies += "org.postgresql" % "postgresql" % "42.1.4"
libraryDependencies += "io.swagger" %% "swagger-play2" % "1.6.0"
libraryDependencies += "org.webjars" %% "webjars-play" % "2.6.3"
libraryDependencies += "org.webjars" % "swagger-ui" % "3.13.6"
libraryDependencies ++= Seq(
ws
)
libraryDependencies ++= Seq(
ehcache
)
libraryDependencies += jcache
// Test Database
libraryDependencies += "com.h2database" % "h2" % "1.4.196"
// Testing libraries for dealing with CompletionStage...
libraryDependencies += "org.assertj" % "assertj-core" % "3.6.2" % Test
libraryDependencies += "org.awaitility" % "awaitility" % "2.0.0" % Test
// Make verbose tests
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-v"))
jacocoReportSettings := JacocoReportSettings()
.withTitle("JACOCO Report")
.withFormats(JacocoReportFormats.ScalaHTML)
jacocoExcludes := Seq("views*", "*Routes*")
jacocoDirectory := baseDirectory.value /"target/jacoco"
PlayKeys.externalizeResources := false
PlayKeys.devSettings := Seq("play.server.http.idleTimeout" -> "infinite")