Error creating a workspace. (Gradle broke)

Started by genieus_nako on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error creating a workspace. (Gradle broke)
Sun, 11/24/2024 - 14:57 (edited)

Initially, there was a workspace, but nothing related to gradle worked. I completely reinstalled MCreator, cleared all gradle folders and cleared absolutely the entire cache. I decided to reinstall MCreator here as well... HE'S BACK THERE:::

I will throw off the shortened log, because the forum does not skip it completely***


Executing Gradle synchronization tasks
Build info: MCreator 2024.3.42716, forge-1.20.1, 64-bit, 12167 MB, Windows 10, JVM 21.0.4, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2024-11-24-17:03:53

FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\genieus\MCreatorWorkspaces\ldoe\build.gradle' line: 3
* What went wrong:
Plugin [id: 'net.minecraftforge.gradle', version: '[6.0.16,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0.16,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.
CONFIGURE FAILED in 1m 52s 

...

 
Plugin [id: 'net.minecraftforge.gradle', version: '[6.0.16,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0.16,6.2)')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)

...

org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'net.minecraftforge.gradle', version: '[6.0.16,6.2)'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'net.minecraftforge.gradle:net.minecraftforge.gradle.gradle.plugin:[6.0.16,6.2)')
Searched in the following repositories:
Gradle Central Plugin Repository
MinecraftForge(https://maven.minecraftforge.net/)
at org.gradle.plugin.use.resolve.internal.PluginResolutionResult.getFound(PluginResolutionResult.java:112) ... 172 more

TASK EXECUTION FAILED
Task completed in 1 minute and 52 seconds

I tried to create a new space on this log. When I tried to export the mod, nothing but "Gradle inactive" was given to me. (With a red square). Also, EVERYTHING stopped working after that. Moreover, files with the .lock extension began to appear in the folders where gradle was located. I looked at all the forums, watched all the videos on Youtube, but absolutely nothing could help me.

 

So that you understand, the error just occurred from nowhere and by accident. I didn't even have time to notice anything. I launched the MCreator launcher, went there with the mod, checked everything. I decided to export AND THEN... "Build Failed". After this point, "Gradle inactive" (with a red square). After that point, everything stopped working at all. Even reinstalling EVERYTHING doesn't work anymore.

 

Oh great gods of MCreator, SOMEONE, PLEASE. Help me.

Edited by genieus_nako on Sun, 11/24/2024 - 14:57
It is likely because…
Sun, 11/24/2024 - 15:00

It is likely because currently, Forge servers appear to be down currently, they announced they are having some technical difficulties. Try again later in a few hours or later, depending how long it takes them to fix the issues