Gradle task failed

Published by Slyzenfelt on
Status
Works as designed
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:
         :forge:unspecified
> 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.
BUILD FAILED
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)