I'm following a modding tutorial (for 1.14) for my first time modding and I can't figure out why this is happening. I made a RunClient.bat as instructed in the tutorial, and it's contents are "gradlew runClient" (no quotes). It seems to start working, because it opens a Minecraft window, but then it crashes after a second and the console window closes too. To capture the console, I just ran the "gradlew runClient" command in a console window rather than using the bat file. Here's the bit at the end of the console:
> Task :runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\Java\jre1.8.0_221\bin\java.exe'' finished with non-zero exit value -1
The rest is on this pastebin: https://pastebin.com/MVzsB5hJ
Any help finding out what's going wrong would be appreciated.