Gradle task failed

Published by Slyzenfelt on Sun, 07/01/2018 - 14:03
Works as designed
Not applicable
Issue description

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
     Required by:
> No cached version of net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT available for offline mode.
> No cached version of net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT available for offline mode.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 15.216 secs
Task completed with return code 1 in 18086 milliseconds

Issue comments

MCreator needs an internet connection to work for the first time setup for each version. You need to have the offline mode turned off too. Otherwise, you get this error.

I am using a mac and I found a similar problem on the forums for a windows user, but I could not find a caches folder or change to offline file to true (I wouldn't know how to if I did find it) 

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.