diff --git a/mill-scalafix/src/com/goyeau/mill/scalafix/ScalafixModule.scala b/mill-scalafix/src/com/goyeau/mill/scalafix/ScalafixModule.scala index 40e1476..289fe92 100644 --- a/mill-scalafix/src/com/goyeau/mill/scalafix/ScalafixModule.scala +++ b/mill-scalafix/src/com/goyeau/mill/scalafix/ScalafixModule.scala @@ -25,7 +25,7 @@ trait ScalafixModule extends ScalaModule { T.ctx().log, repositoriesTask(), filesToFix(sources()).map(_.path), - Seq(semanticDbData().path), + classpath = (compileClasspath() ++ localClasspath() ++ Seq(semanticDbData())).iterator.toSeq.map(_.path), scalaVersion(), scalafixScalaBinaryVersion(), scalacOptions(),