If I have a build starting with...
extends: millbuild.ProjectBaseModule
Compile it successfully and then change it to...
extends:
- ScalaModule
- SbtModule
scalaVersion: 3.8.0
Compile it again and I get the error...
scalaVersion: 3.8.0
^
key "scalaVersion" does not override any task on ScalaModule, SbtModule
Deleting the out dir and recompiling fixes the issue.