-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·78 lines (71 loc) · 2.95 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
submitProjectName := "kvstore"
scalaVersion := "2.11.5"
scalacOptions ++= Seq("-deprecation", "-feature")
(fork in Test) := false
projectDetailsMap := {
val currentCourseId = "reactive-002"
val depsNode = Seq(
"io.reactivex" %% "rxscala" % "0.23.0",
"io.reactivex" % "rxswing" % "0.21.0", // for Swing Scheduler in suggestions
"org.json4s" %% "json4s-native" % "3.2.11",
"org.scala-lang.modules" %% "scala-swing" % "1.0.1",
"net.databinder.dispatch" %% "dispatch-core" % "0.11.0",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.slf4j" % "slf4j-api" % "1.7.5",
"org.slf4j" % "slf4j-simple" % "1.7.5",
"com.squareup.retrofit" % "retrofit" % "1.0.0",
"org.scala-lang.modules" %% "scala-async" % "0.9.2"
)
val depsAkka = Seq(
"com.typesafe.akka" %% "akka-actor" % "2.3.9",
"com.typesafe.akka" %% "akka-testkit" % "2.3.9",
"com.typesafe.akka" %% "akka-persistence-experimental" % "2.3.9"
)
Map(
"example" -> ProjectDetails(
packageName = "example",
assignmentPartId = "fTzFogNl",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId),
"quickcheck" -> ProjectDetails(
packageName = "quickcheck",
assignmentPartId = "02Vi5q7m",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId,
dependencies = Seq("org.scalacheck" %% "scalacheck" % "1.12.1")),
"calculator" -> ProjectDetails(
packageName = "calculator",
assignmentPartId = "8uURtbi7",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId),
"nodescala" -> ProjectDetails(
packageName = "nodescala",
assignmentPartId = "RvoTAbRy",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId,
dependencies = depsNode),
"suggestions" -> ProjectDetails(
packageName = "suggestions",
assignmentPartId = "rLLdQLGN",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId),
"actorbintree" -> ProjectDetails(
packageName = "actorbintree",
assignmentPartId = "VxIlIKoW",
maxScore = 10d,
styleScoreRatio = 0.0,
courseId=currentCourseId,
dependencies = depsAkka),
"kvstore" -> ProjectDetails(
packageName = "kvstore",
assignmentPartId = "nuvh59Zi",
maxScore = 20d,
styleScoreRatio = 0.0,
courseId=currentCourseId,
dependencies = depsAkka)
)}