diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/Settings.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/project/Settings.scala b/project/Settings.scala index 80af7e28..16ab04ad 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -5,6 +5,8 @@ import sbtrelease.ReleasePlugin._ import com.typesafe.sbt.SbtScalariform import com.typesafe.sbt.SbtScalariform.ScalariformKeys import Publish.{settings => publishSettings} +import spray.revolver.RevolverPlugin.Revolver._ +import scalariform.formatter.preferences._ object Settings { @@ -25,15 +27,13 @@ object Settings { "-Xlog-reflective-calls" )) ++ publishSettings ++ releaseSettings - import spray.revolver.RevolverPlugin.Revolver._ - lazy val revolverSettings = Revolver.settings ++ seq(reJRebelJar := "~/.jrebel/jrebel.jar") - + lazy val revolverSettings = Revolver.settings + lazy val formatSettings = SbtScalariform.scalariformSettings ++ Seq( ScalariformKeys.preferences in Compile := formattingPreferences, ScalariformKeys.preferences in Test := formattingPreferences ) - import scalariform.formatter.preferences._ def formattingPreferences = FormattingPreferences() .setPreference(RewriteArrowSymbols, true) |