SBT: how to include both ordinary jar and test-jar of same dependency

Viewed 2328

In my SBT descriptor I have:

libraryDependencies ++= Seq(
  "org.neo4j" % "neo4j-kernel" % neo4jVersion,
  "org.neo4j" % "neo4j-kernel" % neo4jVersion % "test" classifier "tests" // test-jar
)

With this setup I don't get test-jar dependency (second line). But if I remove the first line, than test-jar dependency is in place.

How to include both dependencies?

1 Answers
Related