Doobie has moved under the Typelevel organisation and as part of that
doobie will be published under org.typelevel instead of org.tpolecat.
To avoid breakages, it is necessary for us to rename any references to
_root_.doobie to org.typelevel.doobie.
This Scalafix rule will perform that rename for you across your project.
To run the rule against another sbt project:
-
Add
sbt-scalafixtoproject/plugins.sbt:addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.6")
-
Add this rule as a Scalafix dependency in
build.sbt:scalafixDependencies += "com.github.jatcwang" %% "doobie-package-rename-scalafix" % "0.1.1"
-
Enable Scalafix, compile the project, then run the rule:
sbt --client "scalafixEnable ; compile ; scalafix DoobiePackageRename"