sbt
sbt
在sbt的配置目录,新建repositories文件,内容如下:
[repositories]
local
osc: https://maven.aliyun.com/nexus/content/groups/public/
typesafe: https://repo.typesafe.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext], bootOnly
sonatype-oss-releases
maven-central
sonatype-oss-snapshots
gatling本地编译步骤
- 需要安装sbt环境
- 先编译安装 gatling(sbt compile、sbt publishLocal)
- 再编译安装 gatling-highcharts(sbt compile、sbt publishLocal)
- 整个安装过程会很慢-_-||
打包之后需删除gatling-charts-3.3.0-SNAPSHOT.jar中的:
io.gatling.charts.component.impl.ComponentLibraryImpl