-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
49 lines (33 loc) · 1.82 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
name := "SENG302 TEAM 700"
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.12.8"
lazy val myProject = (project in file(".")).enablePlugins(PlayJava, PlayEbean, JacocoPlugin, JacocoItPlugin)
configs(IntegrationTest)
Defaults.itSettings
jacocoReportSettings in Test := JacocoReportSettings()
.withFormats(
JacocoReportFormats.XML
)
libraryDependencies += guice
libraryDependencies += jdbc
libraryDependencies += "com.h2database" % "h2" % "1.4.197"
libraryDependencies += "org.glassfish.jaxb" % "jaxb-core" % "2.3.0.1"
libraryDependencies += "org.glassfish.jaxb" % "jaxb-runtime" % "2.3.2"
libraryDependencies += "org.awaitility" % "awaitility" % "2.0.0" % Test
libraryDependencies += "org.assertj" % "assertj-core" % "3.6.2" % Test
libraryDependencies += "org.mockito" % "mockito-core" % "2.1.0" % Test
libraryDependencies += "io.cucumber" % "cucumber-core" % "4.2.0" % Test
libraryDependencies += "io.cucumber" % "cucumber-jvm" % "4.2.0" % Test
libraryDependencies += "io.cucumber" % "cucumber-junit" % "4.2.0" % Test
libraryDependencies += "io.cucumber" % "cucumber-java" % "4.2.0" % Test
libraryDependencies += "org.seleniumhq.selenium" % "selenium-java" % "3.141.59" % Test
libraryDependencies += "io.github.bonigarcia" % "webdrivermanager" % "3.4.0" % Test
libraryDependencies += "org.mindrot" % "jbcrypt" % "0.3m"
libraryDependencies += javaJdbc
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.24"
testOptions in Test += Tests.Argument(TestFrameworks.JUnit, "-a", "-v")
testOptions in Test += Tests.Argument("-Dconfig.file=conf/test.conf")
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation", "-Werror")
unmanagedResourceDirectories in Test += baseDirectory ( _ /"target/web/public/test" ).value
import com.typesafe.sbt.packager.MappingsHelper._
mappings in Universal ++= directory(baseDirectory.value / "photos")