Skip to content

Commit bb5e42e

Browse files
committed
Fix test dependencies
1 parent c907f6c commit bb5e42e

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

build.sbt

+9-4
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ lazy val macros = crossProject(JSPlatform, JVMPlatform)
166166
} else {
167167
"org.scala-lang" % "scala-reflect" % scalaVersion.value
168168
}
169-
}
169+
},
170+
libraryDependencies += scalaXmlTest.value
170171
)
171172

172173
lazy val macrosJS = macros.js
@@ -192,7 +193,8 @@ lazy val core = crossProject(JSPlatform, JVMPlatform)
192193
} else {
193194
Seq("com.beachape" %% "enumeratum-macros" % Versions.Macros.stable)
194195
}
195-
}
196+
},
197+
libraryDependencies += scalaXmlTest.value
196198
)
197199

198200
def configureWithLocal(
@@ -251,6 +253,7 @@ lazy val coreJVMTests = Project(id = "coreJVMTests", base = file("enumeratum-cor
251253
"org.scala-lang" % "scala-compiler" % scalaVersion.value % Test
252254
}
253255
},
256+
libraryDependencies += scalaXmlTest.value,
254257
publishArtifact := false,
255258
publishLocal := {}
256259
)
@@ -489,7 +492,8 @@ lazy val enumeratumJson4s =
489492
.settings(
490493
// TODO: Remove once JSON4S is fixed for Scala3;
491494
// https://github.com/json4s/json4s/issues/1035
492-
disabledSettings)
495+
disabledSettings
496+
)
493497
.configure(configureWithLocal(coreJVM))
494498

495499
// ScalaCheck
@@ -645,7 +649,8 @@ lazy val enumeratumSlick =
645649
}
646650
)
647651
.settings( // TODO: Remove once Slick is published for Dotty
648-
disabledSettings)
652+
disabledSettings
653+
)
649654
.configure(configureWithLocal(coreJVM))
650655

651656
// Cats

0 commit comments

Comments
 (0)