Skip to content

Commit 285cfc6

Browse files
committed
⬇️Switch down to scala 3.3.1
1 parent 05a7977 commit 285cfc6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

build.sbt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import sbtcrossproject.CrossPlugin.autoImport.{CrossType, crossProject}
22
import xerial.sbt.Sonatype._
33

4-
54
ThisBuild / scalacOptions ++= Seq( // use ++= to add to existing options
65
"-encoding",
76
"utf8", // if an option takes an arg, supply it on the same line
@@ -28,14 +27,12 @@ inThisBuild(
2827
url("https://github.com/sherpal")
2928
)
3029
),
31-
crossScalaVersions := Seq("3.3.3", "2.13.14", "2.12.19"),
30+
crossScalaVersions := Seq("3.3.1", "2.13.14", "2.12.19"),
3231
scalaVersion := crossScalaVersions.value.head,
3332
autoAPIMappings := true
3433
)
3534
)
3635

37-
38-
3936
lazy val `url-dsl` = crossProject(JSPlatform, JVMPlatform)
4037
.crossType(CrossType.Pure)
4138
.in(file("url-dsl"))
@@ -56,7 +53,8 @@ lazy val `url-dsl` = crossProject(JSPlatform, JVMPlatform)
5653
scalacOptions ++= sys.env.get("CI").map { _ =>
5754
val localSourcesPath = (LocalRootProject / baseDirectory).value.toURI
5855
val remoteSourcesPath = s"https://raw.githubusercontent.com/sherpal/url-dsl/${git.gitHeadCommit.value.get}/"
59-
val sourcesOptionName = if (scalaVersion.value.startsWith("2.")) "-P:scalajs:mapSourceURI" else "-scalajs-mapSourceURI"
56+
val sourcesOptionName =
57+
if (scalaVersion.value.startsWith("2.")) "-P:scalajs:mapSourceURI" else "-scalajs-mapSourceURI"
6058

6159
s"${sourcesOptionName}:$localSourcesPath->$remoteSourcesPath"
6260
}

0 commit comments

Comments
 (0)