I am getting error and can't fix it help please

I’ve been getting error like this and even I deleted and setup again nothing changed.

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\Ozgur\Documents\flutterprojects\android\settings.gradle' (C:\Users\Ozgur\.gradle\caches\7.4\scripts\ea4ydi90mwjg9g63m7r6nimmx).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* 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 1s
Exception: Gradle task assembleDebug failed with exit code 1      

Sounds like you try to run a Gradle 7.4 build with Java 19 which is not supported.
Running Gradle with Java 19 is only supported since Gradle 7.6.

hello, I’m new into all of this pipeline thing and I’m supposed to do implement it on azure devops for a a school project and i have exact same problem. But i have no idea where to change the version that you have mentioned. Can you please elaborate?
also here is the link for the build scan Build Scan® | Gradle Cloud Services
Thanks in advance

As you see in your build scan it is exactly what I said.
You use Gradle 7.5.1 with Java 19.
Either use a newer Gradle version or an older Java version.