You need to include the dependency into your jar. In 1.19 you have the following two Options:
Using the Shadow Plugin, you can take a look at this guide for an example.
Using Forge's Jar-in-Jar, you can take a look a this Page of the FCW.
You don't have the memory to do this. As the error says:
In your case you can see you only have 8M of swap space (AvailPageFile) left of out 17781M:
I would suggest you close other programs to free up memory.
You could try to use a larger swap file, but if this just leads to memory getting swapped to and from disk this is going to harm your performance.
That's very unlikely. You should trust the error message which says your manifest.json in the gradle cache is corrupted/incompletely downloaded.
This likely happened on a previous build you ran but you didn't spot the error message?
One simple way to fix this is exit your ide.
If you have run gradle from the command line, also type "gradlew --stop" to stop any background processes.
Then delete the cache.
This will force ForgeGradle to redownload everything from scratch.
You should try cloning your own repository to a different folder then seeing if that works.
It's likely the stuff in your real folder doesn't match what is on github in some important way.
Try running a "git diff" and "git status" to see if there are uncommitted changes.
1
point
Important Information
By using this site, you agree to our Terms of Use.