Skip to content

Commit

Permalink
Switch to Scala 3 compatible scalameter fork
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Dec 9, 2023
1 parent b82aa0b commit be15722
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit be15722

Please sign in to comment.