Micronaut Platform

Bill-Of-Materials (BOM) and Gradle version catalogs for Micronaut

Version: 5.0.0-SNAPSHOT

1 Introduction

This Micronaut module specifies the Bill of Materials (BOM) for the Micronaut Project, also known as the Micronaut Platform.

The Micronaut Platform is a collection of modules that can be used to build Micronaut applications and have been verified to work well together.

It aggregates many of the individual Micronaut module BOMs and provides a single BOM to manage the versions of all the modules.

If you use either the Micronaut Gradle Plugin or the Micronaut Maven Plugin, you do not need to add this module to your project as it will be added automatically.

Starting with Micronaut Platform 5.0, Kotlin applications built with Maven are not supported. Java applications built with Maven remain supported, and Kotlin applications built with Gradle remain supported.
The Micronaut Platform BOM has existed since Micronaut Framework 4, and corresponds to the Micronaut Framework 3 BOM which was published at io.micronaut:micronaut-bom. In Micronaut 4, we provide both the Micronaut Platform BOM (io.micronaut.platform:micronaut-platform) and the Micronaut Core BOM (io.micronaut:micronaut-core-bom).

The Micronaut Platform catalog

For Gradle users, the platform is also published as a version catalog which can be used in your build scripts to add "blessed" dependencies to your project.

In order to use the version catalog, import it into your settings.gradle(.kts) file:

val micronautVersion: String by settings // from gradle.properties
dependencyResolutionManagement {
    repositories {
        mavenCentral()
    }
    versionCatalogs {
        create("mn") {
            from("io.micronaut.platform:micronaut-platform:${micronautVersion}")
        }
    }
}

Then, you can use the catalog to add dependencies to your project:

implementation(mn.micronaut.data.jdbc)

2 Release History

For this project, you can find a list of releases (with release notes) here:

3 Breaking Changes

This section documents breaking changes between Micronaut versions

5.0.0

Removals

  • micronaut-microstream has been removed from the Micronaut platform.

  • micronaut-rxjava2 has been removed from the Micronaut platform.

Build Tool Support

Starting with Micronaut Platform 5.0, Kotlin applications built with Maven are not supported. This support-policy change is limited to the Kotlin and Maven combination: Java applications built with Maven remain supported, and Kotlin applications built with Gradle remain supported.

Kotlin Micronaut applications should move to Gradle when upgrading to Micronaut Platform 5.0 or later. Applications that require Maven with Kotlin should remain on a supported Micronaut 4.x release line until they can migrate their build.

4 Repository

You can find the source code of this project in this repository: