Skip to content

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:

Terminal window
java -version

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).

Pick one of the supported frameworks:

FrameworkVersion
Spring Boot MVC3.x / 4.x
Spring Boot WebFlux3.x / 4.x
Quarkus3.x
Micronaut4.x
Helidon MP4.x

Pick your framework and follow its setup guide: