-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
54 lines (40 loc) · 1.85 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 := """TweetAnalytics"""
version := "2.6.x"
inThisBuild(
List(
scalaVersion := "2.12.3",
dependencyOverrides := Set(
"org.codehaus.plexus" % "plexus-utils" % "3.0.18",
"com.google.code.findbugs" % "jsr305" % "3.0.1",
"com.google.guava" % "guava" % "22.0",
"com.typesafe.akka" %% "akka-stream" % "2.5.10",
"com.typesafe.akka" %% "akka-actor" % "2.5.10"
)
)
)
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.194"
libraryDependencies += "org.hibernate" % "hibernate-core" % "5.2.9.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 += "org.assertj" % "assertj-core" % "3.6.2" % Test
libraryDependencies += "org.awaitility" % "awaitility" % "2.0.0" % Test
libraryDependencies += "io.gatling.highcharts" % "gatling-charts-highcharts" % "2.3.0" % Test
libraryDependencies += "io.gatling" % "gatling-test-framework" % "2.3.0" % Test
libraryDependencies ++= Seq(
ws
)
libraryDependencies += "org.hamcrest" % "hamcrest-all" % "1.3" % Test
libraryDependencies += "org.mockito" % "mockito-core" % "2.15.0" % "test"
libraryDependencies += "com.typesafe.akka" %% "akka-testkit" % "2.5.10" % Test
PlayKeys.externalizeResources := false
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-v"))
EclipseKeys.preTasks := Seq(compile in Compile, compile in Test)