got the following in my build.sbt file:
name := "Ledger Accounting"
libraryDependencies += "junit" % "junit" % "4.8" % "test"
libraryDependencies += "org.scalatest" % "scalatest" % "1.3" % "test"
This is in my .ensime, in the same directory:
:use-sbt t
:project-package "uk.co.mydomain.ledger"
With sbt, I can compile the above and test the class that imports the scalatest classes, but nothing is visible in the library entries in emacs ensime.
Any ideas on how to get ensime to pick up my build.sbt and add scalatest to my classpath? Ideally, that does not require me to manage two lists of identical dependencies!
source
share