From d8c0a026e15f83b31133d1d1460f41f7d0dd70fc Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Thu, 2 May 2024 08:58:37 +0200 Subject: [PATCH] Update nscplugin, sbt-scala-native to 0.5.1 (#614) * Update nscplugin, sbt-scala-native to 0.5.1 * deps: bump scalameta to 4.9.3 * deps: bump munit to v1.0.0-RC1 to support native --------- Co-authored-by: Chris Kipp --- .gitignore | 2 ++ build.sbt | 4 ++-- plugin/src/test/scala/scoverage/PluginASTSupportTest.scala | 4 ++-- project/plugins.sbt | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ad137db7..bdc040fa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ # Build Server Protocol .bsp/ +.metals/ +metals.sbt # SBT specific target/ diff --git a/build.sbt b/build.sbt index a0932d91..fa4b5d99 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ import sbtcrossproject.CrossProject import sbtcrossproject.CrossType -lazy val munitVersion = "0.7.29" -lazy val scalametaVersion = "4.9.0" +lazy val munitVersion = "1.0.0-RC1" +lazy val scalametaVersion = "4.9.3" lazy val defaultScala212 = "2.12.19" lazy val defaultScala213 = "2.13.13" lazy val defaultScala3 = "3.3.0" diff --git a/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala b/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala index d504e050..81af5d38 100644 --- a/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala +++ b/plugin/src/test/scala/scoverage/PluginASTSupportTest.scala @@ -3,12 +3,12 @@ package scoverage import scala.concurrent.Future import munit.FunSuite -import munit.GenericAfterEach +import munit.AfterEach /** @author Stephen Samuel */ class PluginASTSupportTest extends FunSuite with MacroSupport { - override def afterEach(context: GenericAfterEach[Future[Any]]): Unit = { + override def afterEach(context: AfterEach): Unit = { val compiler = ScoverageCompiler.default assert(!compiler.reporter.hasErrors) } diff --git a/project/plugins.sbt b/project/plugins.sbt index 3d6f3f17..181435c0 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ 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.17") +addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.1") addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")