forked from playframework/play-java-starter-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
27 lines (18 loc) · 834 Bytes
/
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
name := """play-java-starter-example"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.12.6"
crossScalaVersions := Seq("2.11.12", "2.12.4")
libraryDependencies += guice
// Test Database
libraryDependencies += "com.h2database" % "h2" % "1.4.197"
libraryDependencies ++= Seq(
javaJpa.exclude("org.hibernate.javax.persistence", "hibernate-jpa-2.1-api"),
"org.hibernate" % "hibernate-entitymanager" % "5.1.8.Final",
"mysql" % "mysql-connector-java" % "5.1.44",
)
// 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"))