-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (26 loc) · 974 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
val scalaV = "2.13.13"
val scalaTestV = "3.2.16"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % scalaV,
//"org.scalatest" %% "scalatest" % scalaTestV % "test"
)
fork in run := true
scalaVersion := scalaV
// docs
enablePlugins(ParadoxMaterialThemePlugin)
Compile / paradoxMaterialTheme := {
ParadoxMaterialTheme()
// choose from https://jonas.github.io/paradox-material-theme/getting-started.html#changing-the-color-palette
.withColor("light-green", "amber")
// choose from https://jonas.github.io/paradox-material-theme/getting-started.html#adding-a-logo
.withLogoIcon("cloud")
.withCopyright("Copyleft © Johannes Rudolph")
.withRepository(uri("https://github.com/jrudolph/xyz"))
.withSocial(
uri("https://github.com/jrudolph"),
uri("https://twitter.com/virtualvoid")
)
}
paradoxProperties ++= Map(
"github.base_url" -> (Compile / paradoxMaterialTheme).value.properties.getOrElse("repo", "")
)