-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (21 loc) · 925 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
scalaVersion := "2.11.7"
name := "dsug-reactive-streams"
version := "0.0.1"
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
SbtScalariform.scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value // Scala formatting rules
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 60)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(CompactControlReadability, true)
.setPreference(SpacesAroundMultiImports, true) //
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.4.4",
"org.scalatest" %% "scalatest" % "2.2.5" % "test"
)
lazy val root = (project in file("."))
.settings (
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-oD")
)