You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see a couple of possibilities here, so what would you ideally like to see?
I could see trying to attempt to keep the method invocation directly (JavaVersion.toVersion("11")) or convert it to the enum type by default (JavaVersion.VERSION_11).
I think either would ultimately be fine, but I would lean toward keeping the same format (unless the declarationStyle option is set differently) as it would be consistent with what we are also generating for new Micronaut 4 apps created with https://micronaut.io/launch
A Micronaut 3.x app generated by Micronaut Launch uses the following format in build.gradle for Java compatibility settings:
Using
JavaVersion.toVersion
as we do is not properly detected and updated by the UpdateJavaCompatibility recipe.The text was updated successfully, but these errors were encountered: