From b8408579e47a3f71b77709f550050f986836571d Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Sat, 6 Jan 2024 11:09:56 +0100 Subject: [PATCH] Feed the whole classpath to scalafix --- mill-scalafix/src/com/goyeau/mill/scalafix/ScalafixModule.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),