I noticed in the questions above that Java 17 is b...
# questions
m
I noticed in the questions above that Java 17 is being used in Grails 6 projects. Is Java 17 now officially supported in Grails 6?
j
Yes. In fact, with 6.2.1 if you run "grails create-app..." that by default will set sourceCompatibility to 17.
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
m
That's great news. Thanks for the quick reply!
j
Forge UI will also let you create Grails 6 apps with Java 17, but the UI defaults to 11. If you wanted 17 you have to change the dropdown.