sbt / sbt-projectmatrix

MIT License
124 stars 14 forks source link

Per-configuration classpath dependencies #22

Closed hugo-vrijswijk closed 4 years ago

hugo-vrijswijk commented 4 years ago

I want to have a configuration similar to https://www.scala-sbt.org/1.x/docs/Multi-Project.html#Per-configuration+classpath+dependencies

So that I can use test setup files of projectA in projectB.

When creating a setup similar to it, sbt gives the following error:

build.sbt:19: error: value % is not a member of sbt.internal.ProjectMatrix
  .dependsOn(projectA, projectA % "test->test")

Is there any way to realize the described setup?

eed3si9n commented 4 years ago

I am sending a PR for this.