Skip to content

Commit

Permalink
Fix test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cchantep committed Sep 8, 2022
1 parent c907f6c commit bb5e42e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@ lazy val macros = crossProject(JSPlatform, JVMPlatform)
} else {
"org.scala-lang" % "scala-reflect" % scalaVersion.value
}
}
},
libraryDependencies += scalaXmlTest.value
)

lazy val macrosJS = macros.js
Expand All @@ -192,7 +193,8 @@ lazy val core = crossProject(JSPlatform, JVMPlatform)
} else {
Seq("com.beachape" %% "enumeratum-macros" % Versions.Macros.stable)
}
}
},
libraryDependencies += scalaXmlTest.value
)

def configureWithLocal(
Expand Down Expand Up @@ -251,6 +253,7 @@ lazy val coreJVMTests = Project(id = "coreJVMTests", base = file("enumeratum-cor
"org.scala-lang" % "scala-compiler" % scalaVersion.value % Test
}
},
libraryDependencies += scalaXmlTest.value,
publishArtifact := false,
publishLocal := {}
)
Expand Down Expand Up @@ -489,7 +492,8 @@ lazy val enumeratumJson4s =
.settings(
// TODO: Remove once JSON4S is fixed for Scala3;
// https://github.com/json4s/json4s/issues/1035
disabledSettings)
disabledSettings
)
.configure(configureWithLocal(coreJVM))

// ScalaCheck
Expand Down Expand Up @@ -645,7 +649,8 @@ lazy val enumeratumSlick =
}
)
.settings( // TODO: Remove once Slick is published for Dotty
disabledSettings)
disabledSettings
)
.configure(configureWithLocal(coreJVM))

// Cats
Expand Down

0 comments on commit bb5e42e

Please sign in to comment.