-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (30 loc) · 873 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
34
35
ThisBuild / scalaVersion := "2.13.8"
lazy val commonSettings = Seq(
libraryDependencies ++= Seq(
"org.scalameta" %% "munit" % "0.7.29",
"org.scalameta" %% "munit-scalacheck" % "0.7.29",
"org.scalacheck" %% "scalacheck" % "1.16.0"
)
)
scalacOptions ++= Seq(
"-Yrangepos"
)
lazy val `pbt-talk` = project
.in(file("."))
.aggregate(pbt, talk)
.dependsOn(pbt, talk)
lazy val pbt = project
.in(file("modules/pbt"))
.settings(commonSettings)
lazy val talk =
project
.in(file("modules/talk"))
.enablePlugins(MdocPlugin, GitHubPagesPlugin)
.settings(
gitHubPagesOrgName := "bilki",
gitHubPagesRepoName := "pbt-talk",
gitHubPagesSiteDir := baseDirectory.value / "target" / "mdoc",
mdocIn := baseDirectory.value / "slides"
)
.settings(commonSettings)
.dependsOn(pbt)