|
| 1 | +import sbt._ |
| 2 | +import sbt.Keys._ |
| 3 | + |
| 4 | +import _root_.io.gatling.build.license.ApacheV2License |
| 5 | + |
| 6 | +kotlinVersion := "2.1.0" |
| 7 | +scalaVersion := "2.13.16" |
| 8 | + |
| 9 | +enablePlugins(GatlingAutomatedScalafmtPlugin) |
| 10 | +scalafmtOnCompile := false |
| 11 | + |
| 12 | +enablePlugins(GatlingCompilerSettingsPlugin) |
| 13 | + |
| 14 | +enablePlugins(AutomateHeaderPlugin) |
| 15 | +headerLicense := ApacheV2License |
| 16 | + |
| 17 | +Compile / javacOptions ++= Seq("-encoding", "utf8") |
| 18 | +Test / javacOptions ++= Seq("-encoding", "utf8") |
| 19 | +Test / javacOptions += "-Xlint:unchecked" |
| 20 | +Test / unmanagedSourceDirectories ++= (baseDirectory.value / "content" ** "code").get |
| 21 | + |
| 22 | +// Dependencies |
| 23 | + |
| 24 | +val gatlingVersion = "3.13.3" |
| 25 | +val gatlingGrpcVersion = "3.13.3" |
| 26 | +val gatlingMqttVersion = "3.13.3" |
| 27 | + |
| 28 | +libraryDependencies ++= Seq( |
| 29 | + // Gatling modules |
| 30 | + "io.gatling" % "gatling-core-java" % gatlingVersion, |
| 31 | + "io.gatling" % "gatling-http-java" % gatlingVersion, |
| 32 | + "io.gatling" % "gatling-jms-java" % gatlingVersion, |
| 33 | + "io.gatling" % "gatling-jdbc-java" % gatlingVersion, |
| 34 | + "io.gatling" % "gatling-redis-java" % gatlingVersion, |
| 35 | + // External Gatling modules |
| 36 | + "io.gatling" % "gatling-grpc-java" % gatlingGrpcVersion, |
| 37 | + "io.gatling" % "gatling-mqtt-java" % gatlingMqttVersion, |
| 38 | + // Other |
| 39 | + "org.apache.commons" % "commons-lang3" % "3.17.0", |
| 40 | + "commons-codec" % "commons-codec" % "1.17.2", |
| 41 | + "software.amazon.awssdk" % "secretsmanager" % "2.30.3", |
| 42 | + ("org.apache.activemq" % "activemq-broker" % "5.18.6" % Test) |
| 43 | + .exclude("jakarta.jms", "jakarta.jms-api") |
| 44 | +) |
0 commit comments