-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
38 lines (31 loc) · 1.96 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
name := "gatling-grpc"
organization := "ch.tamedia"
scalaVersion := "2.11.8"
lazy val root = (project in file(".")).enablePlugins(GatlingPlugin)
lazy val gatlingVersion = "2.2.2"
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion % "test" withJavadoc() withSources(),
"io.gatling" % "gatling-test-framework" % gatlingVersion % "test" withJavadoc() withSources(),
"io.gatling" % "gatling-core" % gatlingVersion,
"io.grpc" % "grpc-netty" % "1.0.3",
"com.trueaccord.scalapb" %% "scalapb-runtime" % com.trueaccord.scalapb.compiler.Version.scalapbVersion,
"com.trueaccord.scalapb" %% "scalapb-runtime-grpc" % com.trueaccord.scalapb.compiler.Version.scalapbVersion,
"io.netty" % "netty-tcnative-boringssl-static" % "1.1.33.Fork26",
"io.grpc" % "grpc-testing" % "1.0.2"
)
javaOptions in Gatling := overrideDefaultJavaOptions("-Xms1g", "-Xmx2g")
scalacOptions ++= Seq(
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
"-deprecation", // Emit warning and location for usages of deprecated APIs.
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
"-language:existentials", // Existential types (besides wildcard types) can be written and inferred
"-language:higherKinds", // Allow higher-kinded types
"-language:implicitConversions", // Allow definition of implicit functions called views
"-language:postfixOps", // postfix oprators enabled
"-Xlint:_", // Enable recommended additional warnings.
"-Xlint:-missing-interpolator", // Enable recommended additional warnings.
"-Xfuture", // Turn on future language features.
"-Yno-adapted-args", // Do not adapt an argument list (either by inserting () or creating a tuple) to match the receiver.
"-encoding", "UTF-8" // force encoding to UTF-8
)