jdaugherty commented on code in PR #14953:
URL: https://github.com/apache/grails-core/pull/14953#discussion_r2312939186
##########
grails-doc/src/en/guide/upgrading/upgrading60x.adoc:
##########
@@ -256,14 +250,28 @@ jakartaeeMigration {
6. `grails.beans.util.LazyBeanMap` -> `grails.beans.util.LazyMetaPropertyMap`
7. `org.grails.plugins.databinding.DataBindingGrailsPlugin` ->
`DataBindingConfiguration`
-===== 12.4 Micronaut in Grails is now supported via the Micronaut Spring Boot
Starter
-- This change was made based on community input:
https://github.com/orgs/grails/discussions/13517
-- The removal of Micronaut enabled simplification of the Grails codebase and
the return of Live Reload via https://github.com/HotswapProjects/HotswapAgent
-- The Micronaut Parent Context is no longer in Grails by default.
-- The following dependencies are no longer included in Grails or grails-bom:
io.micronaut:micronaut-\*, io.micronaut.cache:micronaut-cache-core,
io.micronaut.groovy:micronaut-runtime-groovy and
io.micronaut.spring:micronaut-spring-*
-- Micronaut can be added via the Micronaut Spring Boot Starter:
https://micronaut-projects.github.io/micronaut-spring/latest/guide/#springBootStarter.
-- Using Micronaut Parent Context:
https://micronaut-projects.github.io/micronaut-spring/latest/guide/#springParentContext
-- Using a Bean Post Processor:
https://micronaut-projects.github.io/micronaut-spring/latest/guide/#beanPostProcessor
+===== 12.4 Micronaut in Grails is now supported via the plugin
`grails-micronaut`
+In Grails 4 to Grails 6, Micronaut was integrated by making Micronaut the
parent context of the Grails application. As of Grails 7, Micronaut is set up
via the
https://micronaut-projects.github.io/micronaut-spring/latest/guide/#springBootStarter[micronaut-spring-starter]
using the `grails-micronaut` plugin. Discussion around this change can be
found https://github.com/apache/grails-core/discussions/13517[here].
+
+To enable Micronaut in your Grails application, two steps must be completed.
First, the `grails-micronaut` plugin needs added to the build file. Second,
the property `micronautPlatformVersion` needs set to your desired version. Only
Micronaut 4.9.2 or higher is supported for Grails.
Review Comment:
Yes, it's my understanding that's a requirement of the micronaut spring
library.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]