This repository was archived by the owner on Apr 23, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathbuild.sbt
More file actions
48 lines (36 loc) · 1.4 KB
/
build.sbt
File metadata and controls
48 lines (36 loc) · 1.4 KB
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 := """play-java-rest-api-example"""
version := "2.7.x"
val gatlingVersion = "2.3.1"
inThisBuild(
List(
dependencyOverrides := Seq(
"org.codehaus.plexus" % "plexus-utils" % "3.0.18",
"com.google.code.findbugs" % "jsr305" % "3.0.1",
"com.google.guava" % "guava" % "22.0"
),
scalaVersion := "2.12.8"
)
)
lazy val GatlingTest = config("gatling") extend Test
lazy val root = (project in file(".")).enablePlugins(PlayJava, GatlingPlugin).configs(GatlingTest)
.settings(
inConfig(GatlingTest)(Defaults.testSettings)
)
.settings(
scalaSource in GatlingTest := baseDirectory.value / "/gatling/simulation"
)
libraryDependencies += guice
libraryDependencies += javaJpa
libraryDependencies += "com.h2database" % "h2" % "1.4.197"
libraryDependencies += "org.hibernate" % "hibernate-core" % "5.2.17.Final"
libraryDependencies += "io.dropwizard.metrics" % "metrics-core" % "3.2.1"
libraryDependencies += "com.palominolabs.http" % "url-builder" % "1.1.0"
libraryDependencies += "net.jodah" % "failsafe" % "1.0.3"
libraryDependencies += "io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion % Test
libraryDependencies += "io.gatling" % "gatling-test-framework" % gatlingVersion % Test
PlayKeys.externalizeResources := false
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-v"))
javacOptions ++= Seq(
"-Xlint:unchecked",
"-Xlint:deprecation"
)