News for hackers. Stuff that matters.
Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by lihaoyi on Wednesday July 16, 2025 @09:13PM (#44588707)
Author here. Mill definitely works pretty well for monorepos. Within a single module Mill incrementally compiles the Java files, between modules Mill caches and parallelizes things much more aggressively, and when running tests Mill can take your PR's `git diff` and selectively execute only tests downstream of your changes.

This all comes built-in without any plugins or anything, and serves to help speed up dev and CI workflows even on pretty large codebases.

Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by Tainnor on Thursday July 17, 2025 @03:45AM (#44590762)
Does Mill have the capability to enforce dependency constraints on transitive versions without declaring them explicitly? I find this to be quite a useful feature for dealing with automated security review and gradle can do that:

https://docs.gradle.org/current/userguide/dependency_constra...

Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by lihaoyi on Thursday July 17, 2025 @05:35AM (#44591440)
Yes, that's handled by Mill's bill-of-materials (BOM) support https://mill-build.org/mill/fundamentals/library-deps.html#_...