mpeltonen/sbt-idea — Issue #104: Support duplicate dependencies just differing on Configuration
Author: jon-freedman
Created: 2011-11-03 14:57:22+00:00
State: open

I want to have a compile dependency on the core spring jars and a test dependency on the testing jars, I can set this up and compile in SBT fine using:

"[our internal classification]" % "spring" % "3.0.5" % "compile->runtime",
"[our internal classification]" % "spring" % "3.0.5" % "it,test->testing"

But the testing jar's are not included in the IntelliJ project. If I want to be able to compile in both SBT & IntelliJ I have to use

"[our internal classification]" % "spring" % "3.0.5" % "compile->runtime,testing"

Prior to upgrading to sbt 0.11.0 this used to work