Fix: A restricted method in java.lang.System has been called in a Flutter Gradle build

The JEP 472 warning on JDK 24+ is harmless and prints once. Fix it by matching your JDK to a Gradle version that supports it, not by pasting flags into gradle.properties.