Mill 0.11.2 is out!
https://mill-build.com/mill/Changelog.html#0-11-2
This version greatly improves build speed after build definition changes due a new fine-grained
cache invalidation (change detection on method-level).
We also improved the editing experience and now properly support meta builds via BSP (Metals) and IntelliJ IDEA.
#millbuild #scala #scalajs #scalanative #buildtool
Haoyi Li: The Making of the com.lihaoyi Ecosystem
The talk from this years Scala Days in Seattle is a nice overview of the general concepts used in Mill and the library ecosystem used by Mill.
Fine-grained invalidation logic landed in Mill main branch, which will become 0.11.2 soon. Kudos to Haoyi Li!
Changes to `build.sc` no longer invalidate all caches. Instead, Mill now inspects and tracks effective changes to the build definition at the bytecode level, resulting in more fine grained cache invalidation.
I just migrated a large project from Mill 0.10.12 to Mill 0.11.1. The new meta-build is absolutely fantastic. I could move all my `$file` included `.sc` files to regular `.scala` files. Compilation is incremental and fast. This makes playing with dependencies or tuning of settings really fast. Also, the current `--watch` functionality is rather fast and solid compared to the old one. Kudos to Haoyi Li ❤️
https://mill-build.com/mill/Extending_Mill.html#_the_mill_meta_build