Micronaut Application Framework
Micronaut is a modern, JVM-based, full stack Java framework designed for building modular, easily testable JVM applications with support for Java, Kotlin and the Groovy language.
Micronaut is developed by the creators of the Grails framework and takes inspiration from lessons learnt over the years building real-world applications from monoliths to microservices using Spring, Spring Boot and Grails.
Micronaut aims to provide all the tools necessary to build JVM applications including:
With Micronaut you can build Message-Driven Applications, Command Line Applications, HTTP Servers and more whilst for Microservices in particular Micronaut also provides:
At the same time Micronaut aims to avoid the downsides of frameworks like Spring, Spring Boot and Grails by providing:
This is achieved by pre-computing the framework infrastructure at compilation time which reduces the logic required at runtime for the application to work.
For more information on using Micronaut see the documentation at micronaut.io
Example Micronaut applications can be found in the Examples repository
To build from source checkout the code and run:
This will publish the current version to your local Maven cache. To get the CLI operational you can do:
export MICRONAUT_HOME=/path/to/checkout export PATH="$PATH:$MICRONAUT_HOME/cli/build/bin"
You will also need to checkout the Micronaut Profiles and run
./gradlew publishToMavenLocalthere too.
You should then be able to
mn create-app hello-world.
To build the documentation run
./gradlew docs. The documentation is built to
If you wish to contribute to the development of Micronaut please read the CONTRIBUTING.md
Micronaut is using Semantic Versioning 2.0.0. To understand what that means, please see the specification documentation. Exclusions to Micronaut's public API include any classes annotated with
@Internal, which reside in the
Github Actions are used to build Micronaut. If a build fails in
master, check the test reports.