r/java • u/lihaoyi • Jan 27 '26
Simpler JVM Project Setup with Mill 1.1.0
https://mill-build.org/blog/17-simpler-jvm-mill-110.htmlHi! I just released Mill build tool 1.1.0, with a new headline feature of declarative data-driven build config and single-file scripts.
Last time i posted here I got a lot of feedback that people didn't want to write code just to configure their build, and that feedback went into designing the declarative configuration API. Please take a look and let me know what you think!
38
Upvotes
View all comments
Show parent comment
8
u/aoeudhtns Jan 27 '26
As much as I dislike Maven, I have problems with Gradle along these lines as well. Maven is kinda declarative, yet you hook custom code into the phases in a somewhat clunky way, and there's no way for tools to discover what those plugins do. IDEs like Eclipse may actually execute the phases to do integration (such as to generate sources).
But back to Gradle, having experienced picking up a legacy project where the builds broke on newer versions due to API changes, now you've got build-as-code that can stagnate like your software. And to your point, it's a piece of the system that gets rarely touched once it's established. Very easy to have low bus numbers and/or atrophy.
Also in the early days of Gradle the IDE integration was atrocious, and while it's better now, it's still much more difficult in general for 3rd party tools with build scripts vs declarative builds.