Skip to content

Commit 4b1e787

Browse files
authored
Merge pull request #423 from iRevive/sn-0.5
Update Scala Native to 0.5.8
2 parents 6128c5c + e91cc04 commit 4b1e787

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

build.sbt

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ThisBuild / tlBaseVersion := "2.1"
1+
import com.typesafe.tools.mima.core._
2+
3+
ThisBuild / tlBaseVersion := "2.2"
24

35
ThisBuild / developers += tlGitHubDev("milanvdm", "Milan van der Meer")
46
ThisBuild / startYear := Some(2021)
@@ -18,7 +20,19 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
1820
.settings(
1921
name := "munit-cats-effect",
2022
libraryDependencies ++= Seq(
21-
"org.scalameta" %%% "munit" % "1.0.0",
22-
"org.typelevel" %%% "cats-effect" % "3.6.3"
23+
"org.scalameta" %%% "munit" % "1.1.1",
24+
"org.typelevel" %%% "cats-effect" % "3.7.0-RC1"
25+
),
26+
mimaBinaryIssueFilters ++= Seq(
27+
// false-positive. methods were deprecated in munit 1.0.4, they are still there but with different signature
28+
ProblemFilters.exclude[DirectMissingMethodProblem]("munit.CatsEffectAssertions.assertEquals"),
29+
ProblemFilters.exclude[DirectMissingMethodProblem]("munit.CatsEffectAssertions.assertNoDiff"),
30+
ProblemFilters.exclude[DirectMissingMethodProblem]("munit.CatsEffectAssertions.fail"),
31+
ProblemFilters
32+
.exclude[DirectMissingMethodProblem]("munit.CatsEffectAssertions.failComparison"),
33+
ProblemFilters.exclude[DirectMissingMethodProblem]("munit.CatsEffectAssertions.failSuite")
2334
)
2435
)
36+
.nativeSettings(
37+
tlVersionIntroduced := List("2.12", "2.13", "3").map(_ -> "2.2.0").toMap
38+
)

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.18.2")
22
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.8.0")
33
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.8.0")
4-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")
4+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.8")
55
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")

0 commit comments

Comments
 (0)