forked from lenalebt/play-rfc6902
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
37 lines (25 loc) · 1010 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
import com.typesafe.sbt.SbtScalariform._
import scalariform.formatter.preferences._
name := """play-rfc6902"""
organization := "de.lenabrueder"
version := "0.1-SNAPSHOT"
licenses += ("LGPL", url("https://opensource.org/licenses/LGPL-3.0"))
scalaVersion := "2.11.7"
crossScalaVersions := Seq("2.10.4", "2.11.7")
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.4.1",
"org.scalatest" %% "scalatest" % "2.2.1" % "test"
)
bintraySettings
com.typesafe.sbt.SbtGit.versionWithGit
scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignParameters, true)
.setPreference(IndentWithTabs, false)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(IndentLocalDefs, true)
.setPreference(IndentPackageBlocks, true)
.setPreference(IndentSpaces, 2)
.setPreference(PreserveDanglingCloseParenthesis, true)