@@ -3,23 +3,26 @@ import microsites.CdnDirectives
3
3
lazy val root = (project in file(" ." ))
4
4
.dependsOn(macros)
5
5
.settings(
6
- name := " safe-string-interpolation"
7
- ).aggregate(macros, test)
6
+ name := " safe-string-interpolation" ,
7
+ crossScalaVersions := Seq (" 2.12.10" , " 2.13.5" )
8
+ )
9
+ .aggregate(macros, test)
8
10
9
11
lazy val docs = project
10
12
.enablePlugins(MicrositesPlugin )
11
13
.settings(name := " afsalthaj" )
12
14
.settings(moduleName := " safe-string-interpolation-docs" )
13
15
.settings(DocSupport .settings)
14
- .settings(Seq (
15
- fork in tut := true ,
16
- git.remoteRepo := " https://github.com/afsalthaj/safe-string-interpolation.git" ,
17
- includeFilter in makeSite := " *.html" | " *.css" | " *.png" | " *.jpg" | " *.gif" | " *.js" | " *.swf" | " *.yml" | " *.md"
18
- ))
16
+ .settings(
17
+ Seq (
18
+ fork in tut := true ,
19
+ git.remoteRepo := " https://github.com/afsalthaj/safe-string-interpolation.git" ,
20
+ includeFilter in makeSite := " *.html" | " *.css" | " *.png" | " *.jpg" | " *.gif" | " *.js" | " *.swf" | " *.yml" | " *.md"
21
+ )
22
+ )
19
23
.settings(scalacOptions in Tut ~= (_.filterNot(Set (" -Ywarn-unused-import" , " -Ywarn-dead-code" ))))
20
24
.enablePlugins(GhpagesPlugin )
21
25
22
-
23
26
micrositeCDNDirectives := CdnDirectives (
24
27
jsList = List (
25
28
" https://cdnjs.cloudflare.com/ajax/libs/ag-grid/7.0.2/ag-grid.min.js" ,
@@ -37,34 +40,38 @@ micrositeGithubOwner := "afsalthaj"
37
40
lazy val macros = (project in file(" macros" ))
38
41
.settings(
39
42
name := " safe-string-macros" ,
43
+ crossScalaVersions := Seq (" 2.11.11" , " 2.12.10" , " 2.13.5" ),
40
44
libraryDependencies ++= Seq (
41
45
" org.scala-lang" % " scala-reflect" % " 2.12.10" ,
42
46
" org.specs2" %% " specs2-scalaz" % " 4.8.2"
43
- ),
47
+ )
44
48
)
45
49
46
50
lazy val test = (project in file(" test" ))
47
51
.settings(
48
52
name := " test" ,
53
+ crossScalaVersions := Seq (" 2.12.10" , " 2.13.5" ),
49
54
libraryDependencies ++= Seq (
50
55
" org.specs2" %% " specs2-scalacheck" % " 4.8.2" % " test" ,
51
56
" org.specs2" %% " specs2-scalaz" % " 4.8.2" % " test"
52
- ),
53
- ).dependsOn(macros)
57
+ )
58
+ )
59
+ .dependsOn(macros)
54
60
55
61
enablePlugins(MicrositesPlugin )
56
62
57
- inThisBuild(List (
58
- organization := " io.github.afsalthaj" ,
59
- homepage := Some (url(" https://afsalthaj.github.io/safe-string-interpolation/" )),
60
- licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )),
61
- developers := List (
62
- Developer (
63
- " afsalthaj" ,
64
- " Afsal Thaj" ,
65
-
66
- url(" https://medium.com/@afsal.taj06" )
63
+ inThisBuild(
64
+ List (
65
+ organization := " io.github.afsalthaj" ,
66
+ homepage := Some (url(" https://afsalthaj.github.io/safe-string-interpolation/" )),
67
+ licenses := List (" Apache-2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )),
68
+ developers := List (
69
+ Developer (
70
+ " afsalthaj" ,
71
+ " Afsal Thaj" ,
72
+
73
+ url(" https://medium.com/@afsal.taj06" )
74
+ )
67
75
)
68
76
)
69
- ))
70
-
77
+ )
0 commit comments