Error when executing gradle command

Started by steampunkpingu on Tue, 10/15/2019 - 00:50

Topic category: Help with MCreator's application

Last seen on 22:10, 17. Oct 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Error when executing gradle command
Tue, 10/15/2019 - 00:50

Whenever I try execute a gradle command in the console, it says this:

 

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'danger'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
     Required by:
         project :
      > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
         > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr….
            > Could not get resource 'file:/C:/Users/scher/.mcreator/gradle/caches/modules-2/resources-2.1/80/36f5acee740e6aea09a82509479d9c4b23bd8a66/maven-metadata.xml'.
               > C:\Users\scher\.mcreator\gradle\caches\modules-2\resources-2.1\80\36f5acee740e6aea09a82509479d9c4b23bd8a66\maven-metadata.xml (Access is denied)