forked from code-star/scala101-full-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
33 lines (26 loc) · 861 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
import sbt.Keys._
val projectName = "Scala 101 Full Course"
val projectVersion = "0.1"
val scalaVer = "2.13.10"
val scalaTestDependencies = Seq(
"org.scalatest" %% "scalatest" % "3.2.14" % Test,
"org.scalatest" %% "scalatest-flatspec" % "3.2.14" % Test
)
val parboiledDependencies = Seq(
"org.parboiled" %% "parboiled" % "2.4.0"
)
lazy val appHamlet = project.settings(
scalaVersion := scalaVer,
libraryDependencies ++= scalaTestDependencies
)
lazy val appTodo = project.settings(
scalaVersion := scalaVer,
libraryDependencies ++= scalaTestDependencies ++ parboiledDependencies
)
lazy val exercises = project.settings(
scalaVersion := scalaVer,
libraryDependencies ++= scalaTestDependencies
)
lazy val root = (project in file("."))
.aggregate(appHamlet, appTodo, exercises)
.settings(name := projectName, version := projectVersion)