diff --git a/antlr.sc b/antlr.sc index 2c4a73779..821eb966a 100644 --- a/antlr.sc +++ b/antlr.sc @@ -9,7 +9,7 @@ import org.antlr.v4.tool.{ANTLRMessage, ANTLRToolListener} import scala.collection.mutable trait AntlrModule extends JavaModule { - def antlrGrammarSources: Sources + def antlrGrammarSources: mill.define.Target[Seq[mill.api.PathRef]] def antlrPackage: Option[String] = None def antlrGenerateVisitor: Boolean = false def antlrGenerateListener: Boolean = false