Skip to content

Commit

Permalink
Add opentest4j test dependency
Browse files Browse the repository at this point in the history
Fixes test errors such as `java.lang.ClassNotFoundException: org.opentest4j.AssertionFailedError` after update to 242
  • Loading branch information
timaliberdov committed Aug 7, 2024
1 parent 0b97d10 commit c8b1032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))

val junitInterfaceVersion = "0.11"
val commonsTextVersion = "1.12.0"
val opentest4jVersion = "1.3.0"

lazy val hocon = project.in(file(".")).enablePlugins(SbtIdeaPlugin).settings(
version := "2024.1.99-SNAPSHOT",
Expand All @@ -25,6 +26,7 @@ lazy val hocon = project.in(file(".")).enablePlugins(SbtIdeaPlugin).settings(
libraryDependencies ++= Seq(
"org.apache.commons" % "commons-text" % commonsTextVersion,
"com.novocode" % "junit-interface" % junitInterfaceVersion % Test,
"org.opentest4j" % "opentest4j" % opentest4jVersion % Test,
),
packageLibraryMappings := Seq.empty, // allow scala-library
patchPluginXml := pluginXmlOptions { xml =>
Expand Down

0 comments on commit c8b1032

Please sign in to comment.