-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
33 lines (27 loc) · 1.02 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
val scalaV = "2.12.6"
val specs2V = "4.3.2"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.14",
"com.typesafe.akka" %% "akka-stream" % "2.5.14",
"com.typesafe.akka" %% "akka-http" % "10.1.3",
"org.specs2" %% "specs2-core" % specs2V % "test"
)
scalaVersion := scalaV
// docs
enablePlugins(ParadoxMaterialThemePlugin)
paradoxMaterialTheme in Compile := {
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" -> (paradoxMaterialTheme in Compile).value.properties.getOrElse("repo", "")
)