From 657ad7884d2620495ae2705c7322f395aeba2a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Fri, 4 Oct 2024 13:45:26 +0200 Subject: [PATCH] Migrate from Scala native 0.4 to 0.5 (#403) * Migrate from Scala native 0.4 to 0.5 * Bump SJS * Bump circe --------- Co-authored-by: Mateusz Kubuszok --- build.sbt | 8 ++++---- project/plugins.sbt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index b1ffc144..1c1a9977 100644 --- a/build.sbt +++ b/build.sbt @@ -9,7 +9,7 @@ lazy val scalaVersionsAll = Seq(scala_2_12Version, scala_2_13Version, scala_3Ve lazy val theScalaVersion = scala_2_12Version -lazy val scalaTestVersion = "3.2.16" +lazy val scalaTestVersion = "3.2.19" lazy val baseProjectRefs = Seq(macrosJS, macrosJVM, macrosNative, coreJS, coreJVM, coreNative, coreJVMTests).map( @@ -343,7 +343,7 @@ lazy val enumeratumCirce = crossProject(JSPlatform, JVMPlatform, NativePlatform) name := "enumeratum-circe", version := Versions.Core.head, libraryDependencies ++= Seq( - "io.circe" %%% "circe-core" % "0.14.3", + "io.circe" %%% "circe-core" % "0.14.10", scalaXmlTest ), libraryDependencies ++= { @@ -461,7 +461,7 @@ lazy val enumeratumScalacheck = crossProject(JSPlatform, JVMPlatform, NativePlat version := Versions.Core.head, crossScalaVersions := scalaVersionsAll, libraryDependencies ++= { - val (ver, mod, ver2) = ("1.17.0", "scalacheck-1-17", "3.2.16.0") + val (ver, mod, ver2) = ("1.18.0", "scalacheck-1-18", "3.2.19.0") Seq( "org.scalacheck" %%% "scalacheck" % ver, @@ -606,7 +606,7 @@ lazy val enumeratumCats = crossProject(JSPlatform, JVMPlatform, NativePlatform) .settings( name := "enumeratum-cats", version := Versions.Core.head, - libraryDependencies += "org.typelevel" %%% "cats-core" % "2.9.0", + libraryDependencies += "org.typelevel" %%% "cats-core" % "2.12.0", libraryDependencies += scalaXmlTest, libraryDependencies ++= { if (useLocalVersion) { diff --git a/project/plugins.sbt b/project/plugins.sbt index 1f32fa06..c9268fea 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -7,10 +7,10 @@ addSbtPlugin("com.github.tkawachi" % "sbt-doctest" % "0.10.0") addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.13.2") +addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.14") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.4") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") addSbtPlugin(("org.scoverage" % "sbt-scoverage" % "2.0.8").exclude("org.scala-lang.modules", "*"))