sbt-idea
sbt-idea copied to clipboard
Library SBT:2.10.3 not added to modules
I have the a problem with the scala compiler library in IntelliJ. When i do a gen-idea, my project contains both the Libraries SBT: scala:2.10.2
and SBT: scala:2.10.3
. (My projects in SBT use 2.10.3), however the SBT: scala:2.10.3
is not added to the dependencies of the module, therefore i am not able to run/compile from intellij. I need to manually add the dependency, after which i am able to compile/run from within intellij
I have a public project on github that illustrates the problem: https://github.com/rparree/camel-demos
Am using SBT 0.13.0 IntelliJ Cardea IU-132.435
Tx.,
I had a similar problem, except manually adding the dependency didn't fix it. Upgrading to sbt-idea 1.5.2 fixed the problem.
Upgrading to 1.5.2 fixed this for me, too. I'm using Play 2.2, which includes a built-in dependency on 1.5.1, so I added this to my project/plugins.sbt:
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.2" extra("sbtVersion" -> "0.13", "scalaVersion" -> "2.10"))
I also have this issue, though upgrading to 1.5.2 did not solve it for me.
:+1: I have exactly the same problem. I solved it thanks to @varju