说我有
lazy val foo = Project(
id = "foo",
base = file("foo")
)
lazy val bar = Project(
id = "bar",
base = file("bar")
dependencies = Seq(foo) // only want that for `% "test"`....
)
Run Code Online (Sandbox Code Playgroud)
如何更改bar,使其仅在测试范围取决于富?