-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
48 lines (42 loc) · 1.58 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
name := course.value ++ "-" ++ assignment.value
scalaVersion := "2.11.8"
scalacOptions ++= Seq(
"-feature",
"-deprecation",
"-encoding", "UTF-8",
"-unchecked",
"-Xlint",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-value-discard",
"-Xfuture",
"-Xexperimental"
)
libraryDependencies ++= Seq(
"com.sksamuel.scrimage" %% "scrimage-core" % "2.1.6", // for visualization
// You don’t *have to* use Spark, but in case you want to, we have added the dependency
"org.apache.spark" %% "spark-sql" % "2.1.0",
// You don’t *have to* use akka-stream, but in case you want to, we have added the dependency
"com.typesafe.akka" %% "akka-stream" % "2.4.12",
"com.typesafe.akka" %% "akka-stream-testkit" % "2.4.12" % Test,
// You don’t *have to* use Monix, but in case you want to, we have added the dependency
"io.monix" %% "monix" % "2.1.1",
// You don’t *have to* use fs2, but in case you want to, we have added the dependency
"co.fs2" %% "fs2-io" % "0.9.2",
"org.scalacheck" %% "scalacheck" % "1.12.1" % Test,
"junit" % "junit" % "4.10" % Test
)
courseId := "PCO2sYdDEeW0iQ6RUMSWEQ"
assignmentsMap := Map(
"observatory" -> Assignment(
packageName = "observatory",
key = "l1U9JXBMEea_kgqTjVyNvw",
itemId = "Cr2wv",
partId = "CWoWG",
maxScore = 10d,
styleScoreRatio = 0.2,
styleSheet = (baseDirectory.value / "scalastyle" / "observatory.xml").getPath,
options = Map("Xmx"->"1500m", "grader-memory"->"2048", "grader-cpu" -> "2")
)
)
parallelExecution in Test := false // So that tests are executed for each milestone, one after the other