-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
51 lines (46 loc) · 1.36 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
import Dependencies._
lazy val baseSettings: Seq[Setting[_]] = Seq(
scalaVersion := "2.13.3",
scalacOptions ++= Seq(
"-deprecation",
"-encoding",
"UTF-8",
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-language:existentials",
"-language:postfixOps",
"-unchecked",
"-Ywarn-value-discard",
// "-Wconf:cat=other-match-analysis:error", // uncomment to transform non-exhaustive warnings into errors
// "-Wconf:cat=unchecked:error", // uncomment to transform type erasure warnings into errors
),
addCompilerPlugin(kindProjector),
libraryDependencies ++= Seq(
catsEffect,
refined,
circe,
scalatest,
)
)
lazy val `foundations-training` = project
.in(file("."))
.settings(moduleName := "foundations-training")
.settings(baseSettings: _*)
.aggregate(exercises, answers)
.dependsOn(exercises, answers)
lazy val exercises = project
.settings(moduleName := "foundation-exercises")
.settings(baseSettings: _*)
lazy val answers = project
.settings(moduleName := "foundation-answers")
.settings(baseSettings: _*)
lazy val slides = project
.dependsOn(answers)
.settings(moduleName := "foundation-slides")
.settings(baseSettings: _*)
.settings(
mdocIn := baseDirectory.value / "mdoc",
mdocOut := baseDirectory.value / "docs",
)
.enablePlugins(MdocPlugin)