ensime plugin declaration causes error when executing sbt

59 views
Skip to first unread message

lav...@gmail.com

unread,
Feb 21, 2015, 7:28:04 PM2/21/15
to ens...@googlegroups.com
Hi, I've download play, created the project, run it and everything worked properly. The problem I have is after adding these lines to the plugins.sbt file:

resolvers += Resolver.sonatypeRepo("snapshots")

addSbtPlugin("org.ensime" % "ensime-sbt" % "0.1.5-SNAPSHOT")

I get this error:

..build.sbt:5: error: value enablePlugins is not a member of sbt.Project
lazy val root = (project in file(".")).enablePlugins(PlayScala)

after googling for while and trying every posible solution, i could solve nothing.

Does anyone know of posible fix?

thanks

Vijay Kiran

unread,
Feb 24, 2015, 5:23:24 PM2/24/15
to ens...@googlegroups.com, lav...@gmail.com
Try  adding 

dependencyOverrides += "org.scala-sbt" % "sbt" % "0.13.7"

to your project/plugins.sbt

./Vijay
Message has been deleted

lav...@gmail.com

unread,
Feb 26, 2015, 12:35:26 PM2/26/15
to ens...@googlegroups.com, lav...@gmail.com
thanks, this worked.
Reply all
Reply to author
Forward
0 new messages