-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (21 loc) · 914 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
import sbt.Keys._
name := "progfun_assignments"
version := "1.0"
scalaVersion := "2.11.7"
val sharedDependencies = Seq(
"org.scalatest" % "scalatest_2.11" % "2.2.6",
"org.scala-lang.modules" % "scala-xml_2.11" % "1.0.4",
"junit" % "junit" % "4.10" % "test"
)
val configure = (project: Project) => project.settings(
libraryDependencies ++= sharedDependencies,
scalaVersion := "2.11.7"
)
lazy val week1 = configure(project.in(file("week1")))
lazy val week2 = configure(project.in(file("week2")))
lazy val week3 = configure(project.in(file("week3")))
.settings(libraryDependencies += "org.scala-lang" % "scala-parser-combinators" % "2.11.0-M4")
lazy val week4 = configure(project.in(file("week4")))
lazy val week6 = configure(project.in(file("week6")))
lazy val week7 = configure(project.in(file("week7")))
lazy val root = project.in(file(".")).aggregate(week1, week2, week3, week4, week6, week7)