Prerequisites
Before adding Mateu to your project, verify the following requirements.
Java 21 or later. Mateu relies on records, sealed interfaces, and pattern matching — Java 21 is the minimum supported version.
Verify with:
java -versionBuild tool
Section titled “Build tool”Maven 3.9+ or Gradle 8+.
Mateu’s annotation processor generates source files at compile time. Both Maven and Gradle support this out of the box, but you must configure the processor explicitly (see each framework setup page for the exact configuration).
Framework
Section titled “Framework”Pick one of the supported frameworks:
| Framework | Version |
|---|---|
| Spring Boot MVC | 3.x / 4.x |
| Spring Boot WebFlux | 3.x / 4.x |
| Quarkus | 3.x |
| Micronaut | 4.x |
| Helidon MP | 4.x |
Pick your framework and follow its setup guide: