val micronautVersion: String by settings // from gradle.properties
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("mn") {
from("io.micronaut.platform:micronaut-platform:${micronautVersion}")
}
}
}
Micronaut Platform
Bill-Of-Materials (BOM) and Gradle version catalogs for Micronaut
Version: 4.7.2
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.
The Micronaut Platform BOM exists 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:
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 Repository
You can find the source code of this project in this repository: