From b58675d09240e85ff11f5c93a8e99976df85f24a Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sat, 19 Oct 2024 09:56:44 +0900 Subject: [PATCH] update dependencies --- build.sbt | 5 +++-- project/build.properties | 2 +- project/plugins.sbt | 2 +- src/test/scala/sbt/testing/UnitSpec.scala | 6 ++++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index a468c4c..b03e3d4 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ version := "1.0" description := "Uniform test interface to Scala/Java test frameworks (specs, ScalaCheck, ScalaTest, JUnit and other)" -scalaVersion := "2.10.2" +scalaVersion := "2.13.15" // disable using the Scala version in output paths and artifacts crossPaths := false @@ -20,7 +20,8 @@ publishTo := { else Some("publish-releases" at nexus + "service/local/staging/deploy/maven2") } -libraryDependencies += "org.scalatest" % "scalatest_2.10" % "2.0" % Test +libraryDependencies += "org.scalatest" %% "scalatest-refspec" % "3.2.19" % Test +libraryDependencies += "org.scalatest" %% "scalatest-shouldmatchers" % "3.2.19" % Test publishMavenStyle := true diff --git a/project/build.properties b/project/build.properties index abbbce5..0b699c3 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.9.8 +sbt.version=1.10.2 diff --git a/project/plugins.sbt b/project/plugins.sbt index 92f76da..19431c2 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1 +1 @@ -addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1") +addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.0") diff --git a/src/test/scala/sbt/testing/UnitSpec.scala b/src/test/scala/sbt/testing/UnitSpec.scala index 5570351..f848993 100644 --- a/src/test/scala/sbt/testing/UnitSpec.scala +++ b/src/test/scala/sbt/testing/UnitSpec.scala @@ -1,7 +1,9 @@ package sbt.testing -import org.scalatest._ +import org.scalatest.matchers.should.Matchers +import org.scalatest.prop.TableDrivenPropertyChecks +import org.scalatest.refspec.RefSpec -class UnitSpec extends Spec with Matchers with prop.TableDrivenPropertyChecks { +class UnitSpec extends RefSpec with Matchers with TableDrivenPropertyChecks { def red(): String = "der".reverse }