22// update NEWS, update version in README.md, tag, then
33// publishSigned.
44// Release tags should follow: http://semver.org/
5+ import scalariform .formatter .preferences ._
56
67enablePlugins(GitVersioning )
78git.baseVersion := " 1.3.0"
@@ -22,7 +23,10 @@ val sonatype = new PublishToSonatype {
2223}
2324
2425lazy val commonSettings : Seq [Setting [_]] = Def .settings(
25- unpublished
26+ unpublished,
27+ scalariformPreferences := scalariformPreferences.value
28+ .setPreference(IndentSpaces , 4 )
29+ .setPreference(FirstArgumentOnNewline , Preserve )
2630)
2731
2832lazy val root = (project in file(" ." ))
@@ -49,7 +53,10 @@ lazy val configLib = Project("config", file("config"))
4953 publish := sys.error(" use publishSigned instead of plain publish" ),
5054 publishLocal := sys.error(" use publishLocalSigned instead of plain publishLocal" ),
5155 packageOptions in (Compile , packageBin) +=
52- Package .ManifestAttributes (" Automatic-Module-Name" -> " typesafe.config" )
56+ Package .ManifestAttributes (" Automatic-Module-Name" -> " typesafe.config" ),
57+ scalariformPreferences := scalariformPreferences.value
58+ .setPreference(IndentSpaces , 4 )
59+ .setPreference(FirstArgumentOnNewline , Preserve )
5360 )
5461 .enablePlugins(SbtOsgi )
5562 .dependsOn(testLib % " test->test" )
0 commit comments