I keep getting this error and I honestly don't understand what it says. It says 'runClient' task failed, but it's the general task. I don't know what's wrong. You can find the crash report here. Also you can find the Gradle task here. Sorry it is long.
Do not add JEI to your run/mods folder, development enviroment is deobfed so you would need a deobf version of JEI too.
If you don't know what is a deobf mod: https://www.reddit.com/r/feedthebeast/comments/7i0mui/quark_deobf/
Thanks for the fast reply, I'll add deobf version.
I added deobf version but now it says "MCreator detected Gradle caches got corrupted." and tries to clear caches, but nothing changes. How can I fix this.
provide log please.
And where did you get the deobf version?
I checked and the only way of getting the deobf version is manually adding something to build.gradle so forge de-obfuscates it at runtime
do you actually know what a deobfed version of mod is?
duh
I got the deobf version from it's GitHub and I used runtimeOnly. I was using things like ${project.mcVersion} and it looks like that was the problem, when I got the version from GitHub and directly pasted it there. It worked. But I still don't know why those things didn't worked.
Shocking Artist I actually don't know what it is exactly. I think it is something like an API for my mod. Am I true?
nope, read the link I sent you.
Thanks for the link. By the way do you know why it didn't worked when I used things like ${mcVersion}.
MCreator doesn't come with a gradle.properties file which these kinds of expressions reference to so you would manually type in the version.