-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
55 lines (48 loc) · 1.71 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name := "Test Charged"
inThisBuild(List(
organization := "com.github.fulrich",
homepage := Some(url("https://github.com/fulrich/testcharged")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
crossScalaVersions := Seq("2.11.12", "2.12.8", "2.13.0"),
developers := List(
Developer(
"fulrich",
"fulrich",
"9284621+fulrich@users.noreply.github.com",
url("https://github.com/fulrich")
)
)
))
// Dependencies
val ScalacticVersion = "3.0.8"
val ScalaCheckVersion = "1.14.0"
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % ScalaCheckVersion,
"org.scalactic" %% "scalactic" % ScalacticVersion,
"org.scalatest" %% "scalatest" % ScalacticVersion % Test,
)
// Documentation
lazy val micrositeSettings = Seq(
micrositeName := "Test Charged",
micrositeDescription := "Supercharge your testing",
micrositeBaseUrl := "/test-charged",
micrositeDocumentationUrl := "/test-charged/docs",
micrositeAuthor := "fulrich",
micrositeHomepage := "https://fulrich.github.io/test-charged/",
micrositeGithubOwner := "fulrich",
micrositeGithubRepo := "test-charged",
micrositeHighlightTheme := "darcula",
micrositeGithubToken := sys.env.get("GITHUB_TOKEN"),
micrositePushSiteWith := GitHub4s,
micrositeGitterChannel := false,
micrositeShareOnSocial := false,
micrositeFooterText := None
)
lazy val root = project in file(".")
lazy val docs = (project in file("docs")).
enablePlugins(MicrositesPlugin).
settings(publishArtifact := false).
settings(micrositeSettings)
// Publishing
publishConfiguration := publishConfiguration.value.withOverwrite(true)
publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true)