jdaugherty commented on code in PR #15411:
URL: https://github.com/apache/grails-core/pull/15411#discussion_r2833521616


##########
grails-doc/src/en/guide/upgrading/upgrading60x.adoc:
##########
@@ -371,6 +371,12 @@ Here's an example `gradle.properties` file:
 micronautPlatformVersion=4.9.2
 ----
 
+Please note that, due to 
https://github.com/micronaut-projects/micronaut-spring/issues/769[this issue], 
Spring Boot DevTools does not work with the Micronaut integration.
+
+IMPORTANT: Do **not** manually add Micronaut annotation processors (such as 
`micronaut-inject-java`) to your `build.gradle`. The Grails Gradle Plugin 
automatically configures the correct annotation processor for Java source files 
and uses Groovy AST transforms (`micronaut-inject-groovy`) for Groovy source 
files. Manually adding annotation processors may cause duplicate bean 
definitions or incremental compilation issues (see 
https://github.com/apache/grails-core/issues/15211[#15211]).

Review Comment:
   No, it needs updated to indicate that the micronaut plugin only adds support 
for groovy.  Annotation Processors would need added for java & it will break 
the groovy incremental compilation if added.  It's best to split java from 
groovy in separate projects as a result.



-- 
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]

Reply via email to