Skip to content

Commit

Permalink
Made the source code to build with scalatest 3.3.0-alpha.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeseng committed Dec 15, 2023
1 parent e11ef58 commit 2babf19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import scala.xml.transform.{RewriteRule, RuleTransformer}
import java.io.PrintWriter
import scala.io.Source

val defaultScalaVersion = "2.13.11"
val defaultScalaVersion = "2.13.12"

scalaVersion := defaultScalaVersion

Expand Down Expand Up @@ -49,7 +49,7 @@ def docTask(docDir: File, resDir: File, projectName: String): File = {
val sharedSettings = Seq(
name := "scalacheck-1.17",
organization := "org.scalatestplus",
version := "3.2.17.0",
version := "3.3.0.0-alpha.1",
homepage := Some(url("https://github.com/scalatest/scalatestplus-scalacheck")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Expand All @@ -68,11 +68,11 @@ val sharedSettings = Seq(
),
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
libraryDependencies ++= Seq(
"org.scalatest" %%% "scalatest-core" % "3.2.17",
"org.scalatest" %%% "scalatest-core" % "3.3.0-alpha.1",
"org.scalacheck" %%% "scalacheck" % "1.17.0",
"org.scalatest" %%% "scalatest-shouldmatchers" % "3.2.17" % "test",
"org.scalatest" %%% "scalatest-funspec" % "3.2.17" % "test",
"org.scalatest" %%% "scalatest-funsuite" % "3.2.17" % "test"
"org.scalatest" %%% "scalatest-shouldmatchers" % "3.3.0-alpha.1" % "test",
"org.scalatest" %%% "scalatest-funspec" % "3.3.0-alpha.1" % "test",
"org.scalatest" %%% "scalatest-funsuite" % "3.3.0-alpha.1" % "test"
),
// skip dependency elements with a scope
pomPostProcess := { (node: XmlNode) =>
Expand Down Expand Up @@ -140,7 +140,7 @@ lazy val scalatestPlusScalaCheck =
.enablePlugins(SbtOsgi)
.settings(osgiSettings: _*).settings(
scalaVersion := defaultScalaVersion,
crossScalaVersions := List("2.12.17", defaultScalaVersion, "3.1.3"),
crossScalaVersions := List("2.12.17", defaultScalaVersion, "3.3.1"),
OsgiKeys.exportPackage := Seq(
"org.scalatestplus.scalacheck.*"
),
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")

addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.0.0")

val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.8.0")
val scalaJSVersion = Option(System.getenv("SCALAJS_VERSION")).getOrElse("1.14.0")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)

addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.9")
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.4.16")

addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")

Expand Down

0 comments on commit 2babf19

Please sign in to comment.