multi-module build
A single build that contains several subprojects, or modules, that depend on each other and are built together.
In more detail
Large codebases split into modules so each has its own dependencies and can be built and tested separately. Gradle handles very large multi-project builds well; Maven supports them with a parent POM listing modules. For a single small service, one module is enough.
Related terms
- Gradle — A build tool whose build is a script in a programming language and a graph of tasks that are skipped when their inputs have not changed.
- Maven — A build tool for Java in which a project declares itself in a pom.xml file and is built by a fixed lifecycle of phases.
Taught in
- The Toolchain: Gradle — Modern Java: Virtual Threads & High-Throughput Services