-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confilict with sbtscalariform #8
Comments
Ok, this seems very very odd. I'll look into it, but it seems to be some kind of wonky issue elsewhere.... |
Hey, sorry I just figured this out: You want your build file to be: import scalariform.formatter.preferences._
seq(scalariformSettings: _*)
seq(com.typesafe.packager.PackagerPlugin.packagerSettings:_*)
name := "myapp"
version := "0.0.1"
scalaVersion := "2.9.2"
resolvers ++= Seq(
DefaultMavenRepository,
"sonatype.release" at "http://oss.sonatype.org/content/repositories/releases",
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)
ScalariformKeys.preferences := FormattingPreferences().
setPreference(FormatXml, false) Notice that |
Right. Now it works. Thank you. I forgot to check Documentation isn't bad. But the difference between |
Using together sbt-native-packager used with scalariform in a build.sbt file lead to confilict:
build.sbt:
project/build.properties:
project/plugins.sbt
The text was updated successfully, but these errors were encountered: