Reputation: 2713
So sbt (0.10) produces the weirdest errors when I try to create a project that has any kind of configuration, not even copying the wiki examples works…
Is there a nice collection of minimal, working sbt projects? (not the basic/quick .sbt
stuff but the full .scala
files in project/
) The wiki snippets seem to be outdated or wrong somehow…
My attempt at integrating scalariform failed with SBT not being able to compile import sbt._
in project/plugins/Plugins.scala
?! (without any other custom files in the tree. That should have worked as far as I understand it…)
Basically I need a project with scalariform
and the -deprecated
compiler option (that didn't even work in quick mode…)
Upvotes: 3
Views: 641
Reputation: 40461
If you use sbt 0.10.x (xsbt), you'll have to wait a bit. Currently the plugin is not compatible:
https://github.com/harrah/xsbt/wiki/sbt-0.10-plugins-list
If you use sbt 0.7.x, the instructions on the sbt-scalariform
github page should work.
Upvotes: 5