SBT错误:“运行时引用未定义的设置”

时间:2018-09-04 14:13:44

标签: scala sbt

我尝试使用位于Github中的以下代码引用另一个sbt项目作为build.sbt中的构建依赖项:

lazy val dependency = RootProject(uri("..."))

// The Play project itself
lazy val root = (project in file("."))
  .enablePlugins(Common, PlayScala, GatlingPlugin)
  .configs(GatlingTest)
  .settings(inConfig(GatlingTest)(Defaults.testSettings): _*)
  .dependsOn(dependency)
  .settings(
    name := """play-scala-rest-api-example""",
    scalaSource in GatlingTest := baseDirectory.value / "/gatling/simulation"
  )

我得到了错误:

Runtime reference to undefined setting:
[error]
[error]   ProjectRef(uri("..."), "dependency")

0 个答案:

没有答案