-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Scala Native
I'd like to add to my Gradle plugin for multi-backend Scala support for Weaver Test on Scala Native - but I can't, since Weaver Test is stuck on the more than a year since obsolete Scala Native 0.4, and many libraries no longer publish artifacts for Scala Native 0.4.
For Weaver Test to be updated to Scala Native 0.5, some of its dependencies must be updated to versions published for Scala Native 0.5 too:
org.portable-scala:portable-scala-reflect
: from 1.1.2 to 1.1.3,org.typelevel:cats-effect
: from 3.5.4 to 3.7 after it is released,co.fs2:fs2-core
: from 3.10.2 to whatever version will support Scala Native 0.5 (afterorg.typelevel:cats-effect:3.7
is released).
munit-diff
I'd like to add to my Gradle plugin for multi-backend Scala support for Weaver Test on Scala.js - but I can't, since Weaver Test brings in munit-diff
1.0.0, and when both Weaver Test and the current version of MUnit (1.1.1) are present in a Scala.js project, there are link errors "Referring to non-existent method":
munit.diff.Diff.createReport(String): String
,munit.diff.Diff(String,String,munit.diff.DiffOptions)
,munit.diff.console.AnsiColors$.c(String,boolean,Function1,StringBuilder): Unit
.
To resolve this, munit-diff
Weaver Test uses needs to be updated from 1.0.0. to 1.1.1, and since MUnit is one of those libraries that no longer publish artifacts for Scala Native 0.4, this update can only happen after the update to Scala 0.5.