by Tainnor · 1y ago · 0 comments
In a sense I feel that part of the microservice craze is due to the fact that many of our build systems are not good enough to allow us to work with huge monoliths efficiently. Gradle is a bit better (definitely faster), but comes with additional complexity. Haven't tried Mill.
https://maven.apache.org/extensions/maven-build-cache-extens...
> Incremental builds work on the modified part of the project graph part only
> Subtree support for multimodule projects builds part of the codebase in isolation
> Version normalization supports project version agnostic caches
> Project state restoration (partial) avoids repeating expensive tasks like code generation
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.
https://docs.gradle.org/current/userguide/dependency_constra...