From 9bc400a3070f19544f150138f216ab00067782aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Fri, 17 Apr 2026 18:51:56 +0200 Subject: [PATCH] Update to Scala Native 0.5 --- build.sbt | 13 ++++++++----- project/plugins.sbt | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index 02d697e..fc8b58d 100644 --- a/build.sbt +++ b/build.sbt @@ -1,14 +1,14 @@ ThisBuild / tlBaseVersion := "0.6" -val http4sVersion = "0.23.33" -val natchezVersion = "0.3.9" +val http4sVersion = "0.23.34" +val natchezVersion = "0.3.10" val scala212Version = "2.12.21" val scala213Version = "2.13.18" val scala3Version = "3.3.7" val slf4jVersion = "2.0.17" -val munitCEVersion = "2.1.0" -val scalacheckEffectVersion = "2.0.0-M2" -val catsMtlVersion = "1.4.0" +val munitCEVersion = "2.2.0" +val scalacheckEffectVersion = "2.1.0" +val catsMtlVersion = "1.6.0" ThisBuild / organization := "org.tpolecat" ThisBuild / licenses := Seq(("MIT", url("http://opensource.org/licenses/MIT"))) @@ -66,6 +66,7 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform) ), tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.6.1").toMap ) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.6.2").toMap) lazy val http4s = crossProject(JSPlatform, JVMPlatform, NativePlatform) .crossType(CrossType.Pure) @@ -80,6 +81,7 @@ lazy val http4s = crossProject(JSPlatform, JVMPlatform, NativePlatform) "org.tpolecat" %%% "natchez-testkit" % natchezVersion % Test, ) ) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.6.2").toMap) .dependsOn(core) lazy val mtl = crossProject(JSPlatform, JVMPlatform, NativePlatform) @@ -98,6 +100,7 @@ lazy val mtl = crossProject(JSPlatform, JVMPlatform, NativePlatform) ), tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.6.1").toMap ) + .nativeSettings(tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "0.6.2").toMap) .dependsOn(core, http4s % "test->test") lazy val examples = project diff --git a/project/plugins.sbt b/project/plugins.sbt index f826bf2..43beab9 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,5 +4,5 @@ addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.7") addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.7.0") addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.9.0") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.21.0") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.11") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.9.0")