其他分享
首页 > 其他分享> > sbt

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

标签:sbt,oss,typesafe,编译,gatling,安装
来源: https://www.cnblogs.com/CSunShine/p/16407209.html