From be15722f1ea70c3131ccb63226aa745972f7c99f Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sat, 9 Dec 2023 18:36:26 +0200 Subject: [PATCH] Switch to Scala 3 compatible scalameter fork --- build.sbt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index 8a273b9d..7958851e 100644 --- a/build.sbt +++ b/build.sbt @@ -18,12 +18,9 @@ libraryDependencies += "org.scalactic" %% "scalactic" % "3.2.17" libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.17" % "test" libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.17.0" % "test" libraryDependencies += "org.scalatestplus" %% "scalacheck-1-17" % "3.2.17.0" % "test" -libraryDependencies += ("org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0").cross(CrossVersion.for3Use2_13) // for scalameter 2.13 +libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0" libraryDependencies += "com.lihaoyi" %% "ujson" % "3.1.3" -libraryDependencies += ("com.storm-enroute" %% "scalameter" % "0.19" % "test").cross(CrossVersion.for3Use2_13) // 0.21 has transitive io.github.... dependency which breaks io.Source in tests - //.exclude("org.scala-lang.modules", "scala-parser-combinators_2.13") // scalameter 2.13 dependency workaround - .exclude("org.scala-lang.modules", "scala-xml_2.13") // scalameter 2.13 dependency workaround -// libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.0.0-RC1" // scalameter 2.13 dependency workaround +libraryDependencies += "io.github.hughsimpson" %% "scalameter" % "0.22.1" % "test" // Scala 3 compatible scalameter fork // TODO: scalameter tests don't work in SBT //testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")