-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
60 lines (48 loc) · 2.09 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
53
54
55
56
57
58
59
60
name := """ads-loader"""
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.4",
"com.typesafe.akka" %% "akka-actor" % "2.5.4"
)
)
)
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 += "mysql" % "mysql-connector-java" % "5.1.43"
libraryDependencies += "com.microsoft.sqlserver" % "mssql-jdbc" % "6.1.0.jre8"
libraryDependencies += "net.sourceforge.jtds" % "jtds" % "1.3.1"
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 += "io.gatling.highcharts" % "gatling-charts-highcharts" % "2.3.0" % Test
libraryDependencies += "io.gatling" % "gatling-test-framework" % "2.3.0" % Test
PlayKeys.externalizeResources := false
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-v"))
libraryDependencies ++= Seq(
"io.swagger" %% "swagger-play2" % "1.6.0",
"org.webjars" %% "webjars-play" % "2.6.2",
"io.springfox" % "springfox-swagger-ui" % "2.7.0",
"org.apache.solr" % "solr-solrj" % "6.6.1",
"org.jsoup" % "jsoup" % "1.10.3",
"io.vavr" % "vavr" % "0.9.1"
//"org.webjars" % "swagger-ui" % "3.2.0"
)
libraryDependencies ++= Seq(
javaJpa,
"org.hibernate" % "hibernate-entitymanager" % "5.1.0.Final" // replace by your jpa implementation
)
PlayKeys.externalizeResources := false