Scalafix rule to help embedded-kafka users update every import statement to the new package name.
- Add Scalafix to your project following the official docs.
- In your
build.sbtfile add the following Scalafix dependency (replacex.x.xwith the appropriate version):ThisBuild / scalafixDependencies += "io.github.embeddedkafka" %% "scalafix" % "x.x.x" - In your
.scalafix.fmtfile add the following rule:
rules = [
EmbeddedKafka
]
- Run
test/scalafixcommand from sbt. - Remove the rule and the dependency.