-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
75 lines (67 loc) · 2.19 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import microsites.CdnDirectives
lazy val root = (project in file("."))
.dependsOn(macros)
.settings(
name := "safe-string-interpolation",
crossScalaVersions := Seq("2.12.10", "2.13.6")
)
.aggregate(macros, test)
lazy val docs = project
.enablePlugins(MicrositesPlugin)
.settings(name := "afsalthaj")
.settings(moduleName := "safe-string-interpolation-docs")
.settings(DocSupport.settings)
.settings(
Seq(
git.remoteRepo := "https://github.com/afsalthaj/safe-string-interpolation.git",
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md"
)
)
.enablePlugins(GhpagesPlugin)
micrositeCDNDirectives := CdnDirectives(
jsList = List(
"https://cdnjs.cloudflare.com/ajax/libs/ag-grid/7.0.2/ag-grid.min.js",
"https://cdnjs.cloudflare.com/ajax/libs/ajaxify/6.6.0/ajaxify.min.js"
),
cssList = List(
"https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.css",
"https://cdnjs.cloudflare.com/ajax/libs/cssgram/0.1.12/1977.min.css",
"https://cdnjs.cloudflare.com/ajax/libs/cssgram/0.1.12/brooklyn.css"
)
)
micrositeGithubOwner := "afsalthaj"
lazy val macros = (project in file("macros"))
.settings(
name := "safe-string-macros",
crossScalaVersions := Seq("2.12.10", "2.13.6"),
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % "2.12.10",
"org.specs2" %% "specs2-scalaz" % "4.8.2"
)
)
lazy val test = (project in file("test"))
.settings(
name := "test",
crossScalaVersions := Seq("2.12.10", "2.13.6"),
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-scalacheck" % "4.8.2" % "test",
"org.specs2" %% "specs2-scalaz" % "4.8.2" % "test"
)
)
.dependsOn(macros)
enablePlugins(MicrositesPlugin)
inThisBuild(
List(
organization := "io.github.afsalthaj",
homepage := Some(url("https://afsalthaj.github.io/safe-string-interpolation/")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"afsalthaj",
"Afsal Thaj",
url("https://medium.com/@afsal.taj06")
)
)
)
)