Upgrade Gradle templates to Gradle 8.5. The thing is that while in the SDK, now with NB 20 and Gradle 8.4, it is all possible to use Java 21. There is this annoying warning that your project has troubles. Well, it doesn't. NB whitelists Gradle versions for certain Java versions. NB 21 lists Gradle 8.5 as Java 21 compatible, so that is what we at least need then.
Upgrade Gradle templates to Gradle 8.5. The thing is that while in the SDK, now with NB 20 and Gradle 8.4, it is all possible to use Java 21. There is this annoying warning that your project has troubles. Well, it doesn't. NB whitelists Gradle versions for certain Java versions. NB 21 lists Gradle 8.5 as Java 21 compatible, so that is what we at least need then.
This is with jME SDK (NB 20) and Gradle 8.5