-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Mill Build Tool version 0.11.4
Hi I'm trying to use antlr plugin with recent mill but it seems that there is some compatybility issue ? I'm getting :
PS F:\git\Alax> .\millw.bat resolve
[build.sc] [48/52] compile
[info] compiling 1 Scala source to F:\git\Alax\out\mill-build\compile.dest\classes ...
[error] F:\git\Alax\build.sc:15:39: illegal inheritance; superclass BaseClass
[error] is not a subclass of the supertrait Module
[error] of the mixin trait AntlrModule
[error] object ast extends CommonModule with AntlrModule{
[error] ^
[error] one error found
1 targets failed
compile Compilation failed
Here is my build file
import mill._, scalalib._
import $ivy.`net.mlbox::mill-antlr:0.1.0`
import net.mlbox.millantlr.AntlrModule
trait CommonModule extends ScalaModule {
def scalaVersion = "3.1.3"
def ivyDeps = Agg(ivy"org.scala-lang::scala-library:2.13.10")
}
object utilities extends CommonModule {
}
object ast extends CommonModule with AntlrModule{
def moduleDeps = Seq(utilities)
override def antlrGenerateVisitor: Boolean = true
override def antlrGenerateListener: Boolean = false
override def antlrPackage: Option[String] = Some("org.alax.ast")
}
Metadata
Metadata
Assignees
Labels
No labels