As the title says, I'm making a mod that has bonus content if another mod is installed. But it's not required. How do I set the build.gradle up in this case? I assume I need to include that mod in some way so that the compiler can recognize the functions and objects.
Oh hey, it worked. Also, the dependencies weren't 100% correct. I updated the paste if anyone's interested (i cleaned the file up a bit as well).
Also, do I need to keep anything in mind, when compiling it to a jar? Due to the flat dir, that is.
But thank you both.
I'm trying to create a small add-on for Astral Sorcery. However, I get the following error message when syncing the gradle project:
org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find net.minecraftforge:forge:1.15.2-31.2.35_mapped_snapshot_20200514-1.15.1_at_d367e68c23d19e1c1bb06234ecb5e3d6785fe984
Here's my build.gradle file.
And here's a screenshot in case it wasn't exactly clear when the error is occuring.
Any help would be greatly appreciated.