Join Slack
Powered by
I noticed in the questions above that Java 17 is b...
# questions
m
Mike Saubier
10/24/2024, 1:27 PM
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
jeffscottbrown
10/24/2024, 1:35 PM
Yes. In fact, with 6.2.1 if you run "grails create-app..." that by default will set sourceCompatibility to 17.
jeffscottbrown
10/24/2024, 1:35 PM
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
m
Mike Saubier
10/24/2024, 1:37 PM
That's great news. Thanks for the quick reply!
j
jeffscottbrown
10/24/2024, 1:39 PM
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.
Open in Slack
Previous
Next