Skip to content

Commit e7ff95d

Browse files
committed
Update libs for Scala Native 0.5.x
1 parent f7ab2a1 commit e7ff95d

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

build.sbt

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import com.typesafe.tools.mima.core._
22

33
val scala212 = "2.12.20"
4-
val scala213 = "2.13.14"
5-
val scala3 = "3.3.3"
4+
val scala213 = "2.13.16"
5+
val scala3 = "3.3.6"
66

7-
val scalatestVersion = "3.2.18"
8-
val scalacheckVersion = "1.17.1"
7+
val scalatestVersion = "3.2.19"
8+
val scalacheckVersion = "1.18.1"
99

1010
ThisBuild / tlJdkRelease := Some(11)
1111
ThisBuild / scalaVersion := scala213
@@ -39,8 +39,8 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
3939
.settings(
4040
name := "diffson-core",
4141
libraryDependencies ++= Seq(
42-
"org.scala-lang.modules" %%% "scala-collection-compat" % "2.11.0",
43-
"org.typelevel" %%% "cats-core" % "2.10.0",
42+
"org.scala-lang.modules" %%% "scala-collection-compat" % "2.13.0",
43+
"org.typelevel" %%% "cats-core" % "2.13.0",
4444
"org.scalatest" %%% "scalatest" % scalatestVersion % Test,
4545
"org.scalacheck" %%% "scalacheck" % scalacheckVersion % Test
4646
),
@@ -57,7 +57,9 @@ lazy val testkit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
5757
.settings(commonSettings: _*)
5858
.settings(name := "diffson-testkit",
5959
libraryDependencies ++= Seq("org.scalatest" %%% "scalatest" % scalatestVersion,
60-
"org.scalacheck" %%% "scalacheck" % scalacheckVersion))
60+
"org.scalacheck" %%% "scalacheck" % scalacheckVersion),
61+
// Silence binary compatibility warnings for test-interface in Scala Native 0.5.x series
62+
libraryDependencySchemes += "org.scala-native" % "test-interface_native0.5_2.13" % "always")
6163
.dependsOn(core)
6264

6365
lazy val sprayJson = crossProject(JVMPlatform)
@@ -74,12 +76,12 @@ lazy val playJson = crossProject(JSPlatform, JVMPlatform, NativePlatform)
7476
.in(file("playJson"))
7577
.settings(commonSettings: _*)
7678
.settings(name := "diffson-play-json",
77-
libraryDependencies += "org.playframework" %%% "play-json" % "3.0.4",
79+
libraryDependencies += "org.playframework" %%% "play-json" % "3.1.0-M3",
7880
tlVersionIntroduced := Map("3" -> "4.3.0"))
7981
.nativeSettings(tlVersionIntroduced := Map("2.12" -> "4.5.0", "2.13" -> "4.5.0", "3" -> "4.5.0"))
8082
.dependsOn(core, testkit % Test)
8183

82-
val circeVersion = "0.14.8"
84+
val circeVersion = "0.14.14"
8385
lazy val circe = crossProject(JSPlatform, JVMPlatform, NativePlatform)
8486
.crossType(CrossType.Full)
8587
.in(file("circe"))
@@ -93,7 +95,7 @@ lazy val circe = crossProject(JSPlatform, JVMPlatform, NativePlatform)
9395
)
9496
.dependsOn(core, testkit % Test)
9597

96-
val ujsonVersion = "3.1.4"
98+
val ujsonVersion = "3.3.1"
9799
lazy val ujson = crossProject(JSPlatform, JVMPlatform, NativePlatform)
98100
.crossType(CrossType.Full)
99101
.in(file("ujson"))

project/plugins.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.3")
2-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
3-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")
2+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.19.0")
3+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.8")
44
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.7")

0 commit comments

Comments
 (0)