-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
40 lines (35 loc) · 1.14 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
lazy val baseSettings: Seq[Setting[_]] = Seq(
scalaVersion := "2.13.3",
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-language:higherKinds",
"-language:implicitConversions", "-language:existentials",
"-unchecked",
"-Ywarn-numeric-widen",
"-Ywarn-value-discard",
),
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "2.2.0",
"eu.timepit" %% "refined" % "0.9.15",
"eu.timepit" %% "refined-scalacheck" % "0.9.15",
"org.scalatestplus" %% "scalacheck-1-14" % "3.1.2.0" % Test,
),
)
lazy val `types-vs-tests` = project.in(file("."))
.settings(moduleName := "types-vs-tests")
.settings(baseSettings: _*)
.aggregate(core, slides)
.dependsOn(core, slides)
lazy val core = project
.settings(moduleName := "types-vs-tests-core")
.settings(baseSettings: _*)
lazy val slides = project
.settings(moduleName := "types-vs-tests-slides")
.settings(baseSettings: _*)
.settings(
mdocIn := baseDirectory.value / "mdoc",
mdocOut := baseDirectory.value / "../docs"
).dependsOn(core)
.enablePlugins(MdocPlugin)