-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (27 loc) · 981 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
name := course.value ++ "-" ++ assignment.value
scalaVersion := "2.11.8"
val sparkVersion = "2.1.0"
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-encoding", "UTF-8",
"-unchecked",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-value-discard",
"-Xfuture",
"-Xexperimental"
)
fork := true
javaOptions += "-Xmx1500m"
libraryDependencies ++= Seq(
"com.sksamuel.scrimage" %% "scrimage-core" % "2.1.6", // for visualization
"org.apache.parquet" % "parquet-format" % "2.3.1",// Necessary to fix error 416 when SBT tries to install Spark dependencies
"org.apache.spark" %% "spark-core" % sparkVersion, // I chose to implement the assignment with Spark
"org.apache.spark" %% "spark-sql" % sparkVersion,
"org.scalacheck" %% "scalacheck" % "1.12.1" % Test,
"junit" % "junit" % "4.10" % Test
)
courseId := "PCO2sYdDEeW0iQ6RUMSWEQ"
parallelExecution in Test := false // So that tests are executed for each milestone, one after the other