build stuck on Resolve dependencies of detachedConfiguration1

Started by Regal on

Topic category: Help with MCreator software

Last seen on 18:20, 30. Apr 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
build stuck on Resolve dependencies of detachedConfiguration1

so i edited the build.gradle file and it completely broke, now when i build it gets stuck on Resolve dependencies of detachedConfiguration1

i tried copying the build.gradle file from another project and it gave the same error.

line: 2

* What went wrong:
Plugin [id: 'net.minecraftforge.gradle', version: '[6.0,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0,6.2)')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)
* 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 1m 12s

is there any way to replace the build.gradle file or fix this issue?

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm having a similar problem…
Fri, 03/29/2024 - 17:19

I'm having a similar problem, but I didn't mess with the build file? Tried reloading the gradle and the gradle caches, doesn't seem to help.

Last seen on 17:10, 27. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Same here, Dint add or…
Fri, 03/29/2024 - 17:29

Same here, Dint add or remove anything, just boot up mcreator today and them this, same error message

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to reinstall Java,…
Fri, 03/29/2024 - 17:32

Trying to reinstall Java, see if that helps. So far no luck.

Last seen on 17:10, 27. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Saw someone saying that…
Fri, 03/29/2024 - 17:36

Saw someone saying that forge was under a DDOSED attack, and that could couse errors on mcreator, dont know how much of that is true, just saying what i heard

Last seen on 18:20, 30. Apr 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
forge had a ddos attack a…
Fri, 03/29/2024 - 17:38

forge had a ddos attack a year ago

Last seen on 17:10, 27. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
true, you guys hava found…
Fri, 03/29/2024 - 17:40

true, you guys hava found any fix? or what could be causing the error?

 

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, I added my gradle…
Fri, 03/29/2024 - 17:41

Okay, I added my gradle folder and my workspace folder to my list of security exclusions, and that seems to have fixed the problem? My guess is the latest windows update made the antivirus block something MCreator needed to download. Anyways, if you go into your security settings, and add all your MCreator related folders to your list of exclusions, that seems to fix it?

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's giving me a ton of…
Fri, 03/29/2024 - 17:42

It's giving me a ton of build errors afterwords though. I'm gonna try reloading the gradle caches now that they seem to be downloading properly again.

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...And reloading the gradle…
Fri, 03/29/2024 - 17:52

...And reloading the gradle caches has caused the problem to return again. Hmmmm.

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's the error after…
Fri, 03/29/2024 - 17:55

Here's the error after disabling the antivirus, reloading the gradle caches, and regenerating the code:

FAILURE: Build failed with an exception. 
* Where: 
Build file 'C:\Users\prcri\MCreatorWorkspaces\superiorsmithing\build.gradle' line: 3 
* What went wrong: 
An exception occurred applying plugin request [id: 'net.minecraftforge.gradle', version: '[6.0,6.2)'] 
> Failed to apply plugin 'net.minecraftforge.gradle'. 
   > Failed to validate certificate for host 'https://maven.minecraftforge.net/'. To disable this check, re-run with '-Dnet.minecraftforge.gradle.check.certs=false'. 
* 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 329ms 
 
Last seen on 17:10, 27. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah putting the files into…
Fri, 03/29/2024 - 17:55

Yeah putting the files into the exclusion list dont work, i keep seeing folks getting this erros today, and other ones saying forge server is down

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That would explain it. At…
Fri, 03/29/2024 - 17:57

That would explain it. At least now it's no longer saying the server's missing, just that I for some reason don't have certification? Does anyone know how to run a build with -Dnet.minecraftforge.gradle.check.certs=false?

Last seen on 13:54, 28. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And yeah, I tried accessing…
Fri, 03/29/2024 - 17:58

And yeah, I tried accessing Forge. It looks like their website is down.

Last seen on 17:10, 27. Apr 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Guess we cant do much at the…
Fri, 03/29/2024 - 17:59

Guess we cant do much at the moment, just wait for the fix