PS D:\android studio project\todofire\android> ./gradlew signingReport
> Task :gradle:compileGroovy FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit 'C:\Users\DESKTOPuefi\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' Unsupported class file major ve
rsion 65
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 15s
2 actionable tasks: 1 executed, 1 up-to-date
You are using Java 21 to run Gradle and most proabably not Gradle 8.5 which to date is the only version supporting that: Compatibility Matrix