-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
45 lines (41 loc) · 1.79 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
val catsVersion = "1.1.0"
val catsEffectVersion = "1.0.0-RC"
val scalaTestVersion = "3.0.5"
val scalacticVersion = "3.0.5"
val scalaCheckVersion = "1.14.0"
lazy val core = (project in file("modules/core"))
.settings(
name := "retry4s",
version := "0.0.1-SNAPSHOT",
organization in ThisBuild := "com.mdipaola",
scalaVersion := "2.12.6",
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % catsVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.scalacheck" %% "scalacheck" % scalaCheckVersion % Test,
"org.scalactic" %% "scalactic" % scalacticVersion % Test,
"org.typelevel" %% "cats-testkit" % "1.0.1" % Test
),
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.6")
)
lazy val examples = (project in file("modules/examples"))
.dependsOn(core)
lazy val docs = project.in(file("modules/docs"))
.dependsOn(core)
.enablePlugins(MicrositesPlugin)
.enablePlugins(TutPlugin)
.disablePlugins(TpolecatPlugin)
.settings(
publishArtifact := false,
micrositeName := "retry4s",
micrositeAuthor := "Marco Di Paola",
micrositeDescription := "Purely functional retry combinators for Scala",
micrositeBaseUrl := "/retry4s",
micrositeDocumentationUrl := "/retry4s/docs",
micrositeHomepage := "https://github.com/marcodippy/retry4s",
micrositeGithubOwner := "marcodippy",
micrositeGithubRepo := "retry4s",
micrositePushSiteWith := GitHub4s,
micrositeGithubToken := sys.env.get("GITHUB_TOKEN")
)