Repository navigation
Expand file tree
/
Copy pathbuild.sbt
More file actions
51 lines (37 loc) · 1.49 KB
/
Copy pathbuild.sbt
File metadata and controls
51 lines (37 loc) · 1.49 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name := "reactive-programming"
version := "1.0.0"
scalaVersion := "2.11.7"
resolvers += "dnvriend at bintray" at "http://dl.bintray.com/dnvriend/maven"
libraryDependencies ++= {
val akkaVersion = "2.4.1"
Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence" % akkaVersion,
"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.6",
"com.ning" % "async-http-client" % "1.7.19",
"org.jsoup" % "jsoup" % "1.8.1",
"io.reactivex" %% "rxscala" % "0.25.0",
"org.scala-lang.modules" %% "scala-async" % "0.9.5",
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"org.scalatest" %% "scalatest" % "2.2.4" % Test,
"org.scalacheck" %% "scalacheck" % "1.12.2" % Test
)
}
fork in Test := true
parallelExecution := false
licenses +=("Apache-2.0", url("http://opensource.org/licenses/apache2.0.php"))
// enable scala code formatting //
import scalariform.formatter.preferences._
scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 100)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(RewriteArrowSymbols, true)
// enable updating file headers //
import de.heikoseeberger.sbtheader.license.Apache2_0
headers := Map(
"scala" -> Apache2_0("2015", "Dennis Vriend"),
"conf" -> Apache2_0("2015", "Dennis Vriend", "#")
)
enablePlugins(AutomateHeaderPlugin)