-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (25 loc) · 1018 Bytes
/
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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.13.8"
lazy val root = (project in file("."))
.settings(
name := "sea-battle-load-test"
)
val gatlingVersion = "3.5.0"
libraryDependencies ++= Seq(
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion,
"io.gatling" % "gatling-test-framework" % gatlingVersion,
"com.github.phisgr" % "gatling-grpc" % "0.12.0",
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf",
"com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion
)
Compile / PB.targets := Seq(
scalapb.gen() -> (Compile / sourceManaged).value
)
//assembly / assemblyJarName := "load-test.jar"
//assembly / mainClass := Some("BasicSimulation")
//assembly / assemblyMergeStrategy := {
// case "reference.conf" => MergeStrategy.concat
// case PathList("META-INF", xs @ _*) => MergeStrategy.discard
// case x => MergeStrategy.first
//}
enablePlugins(GatlingPlugin)