Skip to content

Commit

Permalink
improvement: Remove scalacheck so that base munit doesn't depend on s…
Browse files Browse the repository at this point in the history
…calacheck

This causes us to be blocked whenever scalacheck needs to update still or when scalacheck moves to a newer LTS while we haven't (it's the case now)
  • Loading branch information
tgodzik committed Apr 18, 2024
1 parent 88b81de commit d45cf58
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 492 deletions.
29 changes: 3 additions & 26 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -270,32 +270,8 @@ lazy val plugin = project
)
.disablePlugins(MimaPlugin)

lazy val munitScalacheck = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.in(file("munit-scalacheck"))
.dependsOn(munit)
.settings(
moduleName := "munit-scalacheck",
sharedSettings,
libraryDependencies += {
"org.scalacheck" %%% "scalacheck" % "1.18.0"
}
)
.jvmSettings(
sharedJVMSettings
)
.nativeConfigure(sharedNativeConfigure)
.nativeSettings(
sharedNativeSettings
)
.jsConfigure(sharedJSConfigure)
.jsSettings(sharedJSSettings)

lazy val munitScalacheckJVM = munitScalacheck.jvm
lazy val munitScalacheckJS = munitScalacheck.js
lazy val munitScalacheckNative = munitScalacheck.native

lazy val tests = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.dependsOn(munit, munitScalacheck)
.dependsOn(munit)
.enablePlugins(BuildInfoPlugin)
.settings(
sharedSettings,
Expand Down Expand Up @@ -338,13 +314,14 @@ lazy val testsNative = tests.native

lazy val docs = project
.in(file("munit-docs"))
.dependsOn(munitJVM, munitScalacheckJVM)
.dependsOn(munitJVM)
.enablePlugins(MdocPlugin, DocusaurusPlugin)
.disablePlugins(MimaPlugin)
.settings(
sharedSettings,
publish / skip := true,
moduleName := "munit-docs",
libraryDependencies += "org.scalameta" %% "munit-scalacheck" % "1.0.0-M11",
crossScalaVersions := List(scala213, scala212),
test := {},
mdocOut :=
Expand Down

This file was deleted.

108 changes: 0 additions & 108 deletions munit-scalacheck/shared/src/main/scala/munit/ScalaCheckSuite.scala

This file was deleted.

This file was deleted.

90 changes: 0 additions & 90 deletions tests/shared/src/main/scala/munit/ScalaCheckFrameworkSuite.scala

This file was deleted.

Loading

0 comments on commit d45cf58

Please sign in to comment.