-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
57 lines (42 loc) · 1.57 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
name := "canceRater"
organization := "com.ferhtaydn"
version := "0.1.0"
scalaVersion := "2.11.8"
crossScalaVersions := Seq("2.10.6", "2.11.8")
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-http-core" % "2.4.8",
"com.typesafe.akka" %% "akka-http-testkit" % "2.4.8" % "test",
"com.typesafe.akka" %% "akka-http-experimental" % "2.4.8",
"com.typesafe.akka" %% "akka-http-spray-json-experimental" % "2.4.8",
"org.scalatest" %% "scalatest" % "2.2.6" % "test",
"org.scalamock" %% "scalamock-scalatest-support" % "3.2.2" % "test",
"org.apache.spark" %% "spark-core" % "1.6.2" % "provided",
"org.apache.spark" %% "spark-mllib" % "1.6.2",
"org.apache.spark" %% "spark-sql" % "1.6.2"
)
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-language:experimental.macros",
"-unchecked",
"-Xfatal-warnings",
"-Xlint",
"-Yinline-warnings",
"-Ywarn-dead-code",
"-Xfuture")
initialCommands := "import com.ferhtaydn.cancerater._"
SbtScalariform.scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(RewriteArrowSymbols, true)