Skip to content

Commit dc55f49

Browse files
committed
Publish for scala 2.13
1 parent 83cb6ff commit dc55f49

File tree

2 files changed

+35
-23
lines changed

2 files changed

+35
-23
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
.bloop/
2+
.metals/
3+
.vscode/
4+
project/.bloop/
5+
project/metals.sbt
16
project/target/*
27
project/project/*
38
.idea/

build.sbt

+30-23
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,26 @@ import microsites.CdnDirectives
33
lazy val root = (project in file("."))
44
.dependsOn(macros)
55
.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)
810

911
lazy val docs = project
1012
.enablePlugins(MicrositesPlugin)
1113
.settings(name := "afsalthaj")
1214
.settings(moduleName := "safe-string-interpolation-docs")
1315
.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+
)
1923
.settings(scalacOptions in Tut ~= (_.filterNot(Set("-Ywarn-unused-import", "-Ywarn-dead-code"))))
2024
.enablePlugins(GhpagesPlugin)
2125

22-
2326
micrositeCDNDirectives := CdnDirectives(
2427
jsList = List(
2528
"https://cdnjs.cloudflare.com/ajax/libs/ag-grid/7.0.2/ag-grid.min.js",
@@ -37,34 +40,38 @@ micrositeGithubOwner := "afsalthaj"
3740
lazy val macros = (project in file("macros"))
3841
.settings(
3942
name := "safe-string-macros",
43+
crossScalaVersions := Seq("2.11.11", "2.12.10", "2.13.5"),
4044
libraryDependencies ++= Seq(
4145
"org.scala-lang" % "scala-reflect" % "2.12.10",
4246
"org.specs2" %% "specs2-scalaz" % "4.8.2"
43-
),
47+
)
4448
)
4549

4650
lazy val test = (project in file("test"))
4751
.settings(
4852
name := "test",
53+
crossScalaVersions := Seq("2.12.10", "2.13.5"),
4954
libraryDependencies ++= Seq(
5055
"org.specs2" %% "specs2-scalacheck" % "4.8.2" % "test",
5156
"org.specs2" %% "specs2-scalaz" % "4.8.2" % "test"
52-
),
53-
).dependsOn(macros)
57+
)
58+
)
59+
.dependsOn(macros)
5460

5561
enablePlugins(MicrositesPlugin)
5662

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+
)
6775
)
6876
)
69-
))
70-
77+
)

0 commit comments

Comments
 (0)