What is bld?
mainbld is a build tool that allows you to write your build logic in pure Java. Unlike Maven (XML) or Gradle (Groovy/Kotlin), bld is ordinary Java code that runs directly, providing full IDE support (auto-completion, refactoring) and the ability to use the standard Java debugger (breakpoints, watches) on your build logic.
Key principles:
- Tasks are explicit and API-defined; no auto-magical behavior.
- Build logic is written in Java, allowing it to be split into multiple files/classes.
- Distributed as a single JAR.
- Supports modern Java deployment (modules,
jmod,jlink,jpackage).