sbt-idea icon indicating copy to clipboard operation
sbt-idea copied to clipboard

Library SBT:2.10.3 not added to modules

Open rparree opened this issue 11 years ago • 4 comments

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.,

rparree avatar Oct 08 '13 06:10 rparree

I had a similar problem, except manually adding the dependency didn't fix it. Upgrading to sbt-idea 1.5.2 fixed the problem.

agmenc avatar Oct 14 '13 14:10 agmenc

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"))

varju avatar Oct 17 '13 21:10 varju

I also have this issue, though upgrading to 1.5.2 did not solve it for me.

bearrito avatar Dec 12 '13 16:12 bearrito

:+1: I have exactly the same problem. I solved it thanks to @varju

nopper avatar Feb 21 '14 22:02 nopper