Help with this error im minecraft modding using gradle

so im using gradle forge to create my own minecraft mod and i got this error while trying to run the client:

* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\bin\java.exe'' finished with non-zero exit value 1

* 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

if anyone could help me fix this ill greatly appreciate that and thank you in advance ^^

As the error says, when trying to run the client, it exits with exit code 1.
There are rare cases when the cause is some parameters or similar, so you could enable --info or --debug to get more information and also the executed command and can try to run it manually.
But usually it just means you program had an error where it called System.exit(1), so debug your code to see where it fails.