forked from spotify/zoltar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
37 lines (35 loc) · 1.26 KB
/
build.sbt
File metadata and controls
37 lines (35 loc) · 1.26 KB
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
lazy val noPublishSettings = Seq(
publish := {},
publishLocal := {},
publishArtifact := false
)
lazy val root = project
.in(file("."))
.settings(noPublishSettings)
.settings(name := "zoltar")
.aggregate(docs)
lazy val docs = project
.in(file("docs"))
.enablePlugins(ParadoxSitePlugin, ParadoxMaterialThemePlugin, GhpagesPlugin)
.settings(noPublishSettings)
.settings(
name := "docs",
version := "0.4.0",
paradoxProperties in Paradox ++= Map(
"javadoc.com.spotify.zoltar.base_url" -> "http://spotify.github.com/zoltar/apidocs"
),
sourceDirectory in Paradox in paradoxTheme := sourceDirectory.value / "paradox" / "_template",
ParadoxMaterialThemePlugin.paradoxMaterialThemeSettings(Paradox),
paradoxMaterialTheme in Paradox ~= {
_.withColor("white", "indigo")
.withLogo("images/logo.png")
.withCopyright("Copyright (C) 2018 Spotify AB")
.withRepository(uri("https://github.com/spotify/zoltar"))
.withSocial(uri("https://github.com/spotify"),
uri("https://twitter.com/spotifyeng"))
},
scmInfo := Some(
ScmInfo(url("https://github.com/spotify/zoltar"),
"git@github.com:spotify/zoltar.git")),
git.remoteRepo := scmInfo.value.get.connection
)