Skip to content

Update Scala Native to 0.5.6 #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ThisBuild / startYear := Some(2021)
ThisBuild / crossScalaVersions := List("3.3.5", "2.12.20", "2.13.16")
ThisBuild / tlVersionIntroduced := Map("3" -> "1.0.2")

ThisBuild / libraryDependencySchemes +=
"org.scala-native" %% "test-interface_native0.5" % VersionScheme.Always

Comment on lines +9 to +11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @iRevive ,
Is this necessary because ScalaCheck v1.18.1 depends on Native v0.5.5 ?
If it is the only reason, I think it makes sense to arrange ScalaCheck v1.18.2 that would depend on v0.5.6.
Wdyt?

Perhaps it would help synchonize discipline-munit too.

lazy val root = tlCrossRootProject.aggregate(core, munit)

lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
Expand All @@ -15,20 +18,19 @@ lazy val core = crossProject(JSPlatform, JVMPlatform, NativePlatform)
)
.settings(
libraryDependencies ++= List(
"org.scalacheck" %%% "scalacheck" % "1.17.1",
"org.typelevel" %%% "cats-core" % "2.11.0"
"org.scalacheck" %%% "scalacheck" % "1.18.1",
"org.typelevel" %%% "cats-core" % "2.13.0"
)
)

lazy val munit = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.settings(
name := "scalacheck-effect-munit",
testFrameworks += new TestFramework("munit.Framework")
name := "scalacheck-effect-munit"
)
.dependsOn(core)
.settings(
libraryDependencies ++= List(
"org.scalameta" %%% "munit-scalacheck" % "1.0.0-M11",
"org.typelevel" %%% "cats-effect" % "3.5.7" % Test
"org.scalameta" %%% "munit-scalacheck" % "1.1.0",
"org.typelevel" %%% "cats-effect" % "3.7-4972921" % Test
)
)
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.18.2")
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.7.7")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.17")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.6")
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")