diff --git a/scalalib/src/mill/scalalib/ScalaModule.scala b/scalalib/src/mill/scalalib/ScalaModule.scala index ac78703feb1..bc60f483892 100644 --- a/scalalib/src/mill/scalalib/ScalaModule.scala +++ b/scalalib/src/mill/scalalib/ScalaModule.scala @@ -32,9 +32,9 @@ trait ScalaModule extends JavaModule with TestModule.ScalaModuleBase { outer => override def scalaOrganization: Target[String] = outer.scalaOrganization() override def scalaVersion: Target[String] = outer.scalaVersion() override def scalacPluginIvyDeps: Target[Agg[Dep]] = outer.scalacPluginIvyDeps() - override def scalacPluginClasspath: Target[Agg[PathRef]] = outer.scalacPluginClasspath() + override def scalacPluginClasspath: Target[Agg[PathRef]] = T { super.scalacPluginClasspath() } override def scalacOptions: Target[Seq[String]] = outer.scalacOptions() - override def mandatoryScalacOptions: Target[Seq[String]] = outer.mandatoryScalacOptions() + override def mandatoryScalacOptions: Target[Seq[String]] = T { super.mandatoryScalacOptions() } } /**