Gradle error [Could not resolve all dependencies]

Started by alexzinyew on

Topic category: Help with MCreator software

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle error [Could not resolve all dependencies]

I get this error when trying to make my workspace, This has gone on for 2 days of troubleshooting. I looked at the gradle error page and I followed the instructions. NOTHING WORKS.

 

I disabled antivirus, firewall, deleted the gradle folder, reinstalled more times than I can count deleted the .mcreator a bunch rebooted a ton at this point I give up.

Last seen on 08:14, 28. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is your internet connection…
Mon, 06/28/2021 - 01:37

is your internet connection fairly good? if yes and it still doesn't work, then maybe it's a problem with the server from where Minecraft Forge files need to be downloaded when setting up workspace, or that it's up but you can't access it for some reason (and since you said you've already disabled both antivirus & firewall then unfortunately I'm not sure what's causing it for you). anyways, i wish you luck!

P.S. i believe this doesn't only happen for MCreator. sometimes, this can happen to any Gradle project in general. when creating such, i believe Gradle needs a good internet connection to download all "dependencies" or required files, and there should be nothing interfering with the connection to the repositories where they're downloaded

 

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just yesterday I got fabrics…
Mon, 06/28/2021 - 01:46

Just yesterday I got fabrics gradle running just fine. Yet this doesn't work.

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is 50mbps good enough for…
Mon, 06/28/2021 - 01:50

Is 50mbps good enough for gradle?

Last seen on 08:14, 28. Nov 2023
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, i think that's more…
Mon, 06/28/2021 - 03:10

yeah, i think that's more than good. but it's strange how it fails; guess Forge Gradle setup is just weird sometimes... maybe try setup a few more times, or make new workspace/s?

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have done that tons of…
Mon, 06/28/2021 - 12:01

I have done that tons of times in the 5 hours of troubleshooting.

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is the error if it…
Mon, 06/28/2021 - 12:06

Here is the error if it helps.

 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 16288 MB, Windows 10, 
    JVM 1.8.0_275, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk

FAILURE: 
    Build failed with an exception.


    What went wrong:


    problem occurred configuring root project 'DeeperDark'.


    Could not resolve all dependencies for configuration ':_compileJava_1'.

 
      > Failed to calculate the value of task ':compileJava' property 
    'javaCompiler'.

 
         > org.gradle.api.GradleException (no error message)


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 5s

BUILD 
    FAILED

Task 
    completed in 5 seconds

Last seen on 23:01, 12. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know this sounds…
Mon, 06/28/2021 - 15:35

I know this sounds ridiculous, but is it possible for someone to setup a workspace under the details I want, then send it to me?