我将 scoverage 插件添加到 projects/plugins.sbt
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")
我能够使用生成测试覆盖率
sbt clean coverage test
sbt coveragereport
但是,当我尝试将 socoverage 配置添加到我的 build.sbt 时。我看到构建错误
error: value ScoverageKeys is not a member of object scoverage.ScoverageSbtPlugin
ScoverageSbtPlugin.ScoverageKeys.coverageMinimum := 70
看起来 build.sbt 没有找到 Scoverage 类。这里发生了什么?