Closed urbas closed 10 years ago
It works if instead of test->compile
you write test
. For example:
lazy val util = project.in(file("util")).dependsOn(utilTest % "test")
This is good enough for me, so I'll close the issue.
Btw, there's already a test in src/sbt-test/sbt-idea/project-dependency
that tests this.
I have the following project structure:
When using
gen-idea
the following project structure is produced (see attached screenshot):Problem:
Notice that the
utilTest
dependency appears as a compile dependency.Expected behaviour:
The
utilTest
dependency should appear as a test dependency.