-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
61 lines (45 loc) · 2.38 KB
/
build.sbt
File metadata and controls
61 lines (45 loc) · 2.38 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
49
50
51
52
53
54
55
56
57
58
59
60
61
import io.gatling.sbt.GatlingPlugin
import sbt.Keys._
name := "flowupserver"
version := "1.0"
lazy val `flowupserver` = (project in file(".")).enablePlugins(PlayJava, PlayEbean, SbtWeb)
.enablePlugins(GatlingPlugin)
.configs(GatlingTest)
.settings(inConfig(GatlingTest)(Defaults.testSettings): _*)
pipelineStages := Seq(rjs, digest, gzip)
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(javaJdbc, cache, javaWs,
"org.projectlombok" % "lombok" % "1.16.10",
"org.webjars" %% "webjars-play" % "2.5.0",
"org.webjars" % "bootstrap" % "3.3.4",
"com.adrianhurt" %% "play-bootstrap" % "1.1-P25-B3",
"mysql" % "mysql-connector-java" % "5.1.40",
"be.objectify" %% "deadbolt-java" % "2.5.0",
"com.spotify" % "completable-futures" % "0.3.0",
"io.airbrake" % "airbrake-java" % "2.2.8",
"com.github.karelcemus" %% "play-redis" % "1.3.0-M1",
"com.amazonaws" % "aws-java-sdk-sqs" % "1.11.66",
"com.taxamo" % "taxamo-java" % "1.1.1",
"com.stripe" % "stripe-java" % "5.6.0",
//Test dependencies
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.mockito" % "mockito-all" % "1.10.19" % "test",
"org.hamcrest" % "hamcrest-junit" % "2.0.0.0" % "test",
"io.gatling.highcharts" % "gatling-charts-highcharts" % "2.2.2" % "test",
"io.gatling" % "gatling-test-framework" % "2.2.2" % "test",
"com.github.tomakehurst" % "wiremock" % "2.3.1" % "test",
"com.tngtech.java" % "junit-dataprovider" % "1.10.0" % "test"
)
topLevelDirectory := None
unmanagedResourceDirectories in Test <+= baseDirectory(_ / "target/web/public/test")
resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
mappings in Universal in packageBin += file("aws-config/Dockerfile") -> "Dockerfile"
mappings in Universal in packageBin += file("aws-config/Dockerrun.aws.json") -> "Dockerrun.aws.json"
mappings in Universal in packageBin += file("aws-config/newrelic.jar") -> "newrelic.jar"
mappings in Universal in packageBin += file("aws-config/newrelic.yml") -> "newrelic.yml"
mappings in Universal in packageBin += file("aws-config/.ebextensions/cloudwatch.config") -> ".ebextensions/cloudwatch.config"
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v")
includeFilter in(Assets, LessKeys.less) := "*.less"
excludeFilter in(Assets, LessKeys.less) := "_*.less"
lazy val GatlingTest = config("gatling") extend (Test)
scalaSource in GatlingTest := baseDirectory.value / "/gatling/simulation"