com-lihaoyi / mill

Your shiny new Java/Scala build tool!
https://mill-build.com/
MIT License
1.99k stars 303 forks source link

Refactor `CompileModule` out of `JavaModule` #3237

Open lefou opened 1 week ago

lefou commented 1 week ago

It should contain the dependency management targets (ivDeps, compileIvyDeps) and the a generic compile target. It should also support compiler stacking, so there is a clear way how two mixed-in CompilerModules will work together (think: java-before-scala or scala-before-kotlin).

lefou commented 1 week ago
lefou commented 1 week ago

I think it would be good to start this idea in a complete different and @experimental package. So we can roll-out and test it as soon as available and also use feedback to settle with a stable API.