micronaut-core
micronaut-core copied to clipboard
Micronaut 4 Groovy projects fail Intellij compilation
Expected Behavior
All information on https://youtrack.jetbrains.com/issue/IDEA-331174 as I initially believed this to be an Intellij-specific issue.
Example project included in this ticket: groovy-compile-bug.zip
Actual Behaviour
Compilation fails when building Micronaut 4 groovy projects using Intellij's compiler, that have annotations that are defined in Groovy files.
Steps To Reproduce
All information on https://youtrack.jetbrains.com/issue/IDEA-331174 as I initially believed this to be an Intellij-specific issue.
They state that the problem is caused by the library io.micronaut:micronaut-inject-groovy
starting from version 4.0.0, so raising it here for further investigation.
Environment Information
Operating System: MacOS Ventura, Version 13.4 JDK Version: Coretto 17
Example Application
see attached
Version
4.0.3