forked from phiSgr/gatling-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (36 loc) · 1.12 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
val commonSettings = Seq(
organization := "com.github.phisgr",
scalaVersion := "2.13.4",
crossPaths := false,
)
val gatlingVersion = "3.5.0"
val gatlingCore = "io.gatling" % "gatling-core" % gatlingVersion
val publishSettings = {
import xerial.sbt.Sonatype._
Seq(
publishTo := SonatypeKeys.sonatypePublishTo.value,
publishMavenStyle := true,
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
sonatypeProjectHosting := Some(GitHubHosting("phiSgr", "gatling-ext", "[email protected]")),
)
}
lazy val root = (project in file("."))
.enablePlugins(GatlingPlugin)
.settings(commonSettings: _*)
.settings(publishSettings: _*)
.settings(
name := "gatling-ext",
version := "0.2.0",
scalacOptions ++= Seq(
"-language:existentials",
"-language:implicitConversions",
"-language:higherKinds",
"-Xlint",
"-opt:l:method",
),
libraryDependencies ++= Seq(
gatlingCore,
"io.gatling.highcharts" % "gatling-charts-highcharts" % gatlingVersion % "test",
"io.gatling" % "gatling-test-framework" % gatlingVersion % "test",
),
)