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本地编译步骤

  1. 需要安装sbt环境
  2. 先编译安装 gatling(sbt compile、sbt publishLocal)
  3. 再编译安装 gatling-highcharts(sbt compile、sbt publishLocal)
  4. 整个安装过程会很慢-_-||

打包之后需删除gatling-charts-3.3.0-SNAPSHOT.jar中的:
io.gatling.charts.component.impl.ComponentLibraryImpl

posted @ 2022-06-23 23:24  飞_2016  阅读(143)  评论(0编辑  收藏  举报