Gradle build failure after new 2021.3 build

Started by DerpyPerson117 on

Topic category: Help with MCreator software

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle build failure after new 2021.3 build

My mod I've been working on was created in 1.16.5, and I had installed the APIs Reborn plugin to help with development. One of the plugins it came bundled with was GeckoLib, and it seems to have not properly transferred all its files after I reinstalled MCreator with the 2021.3 update to work with 1.17. This has caused an error that is preventing my gradle from being properly started up when I open my workspace. I was going to attempt a reinstallation of the plugin, but I'm worried that removing it will cause even more issues for my workspace files. I went ahead and copied the error I've been receiving (this is not the whole thing, as it's far too many lines long for me to put in this post)

Executing Gradle task: eclipse
Build info: MCreator 2021.3.53117, forge-1.16.5, 64-bit, 16271 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
 
Error getting artifact: software.bernie.geckolib:geckolib-forge-1.16.5:3.0.17_mapped_snapshot_20201028-1.16.3:null@jar from DeobfuscatingRepo
org.gradle.internal.resolve.ArtifactResolveException: Could not download geckolib-forge-1.16.5-3.0.17.jar (software.bernie.geckolib:geckolib-forge-1.16.5:3.0.17)
 at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver$RemoteRepositoryAccess.resolveArtifact(ExternalResourceResolver.java:505)
 at 

//I cut out the 100 or so lines here, it seemed to just be all the file paths it could not resolve


FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':runtimeClasspathCopy'.
> Could not find software.bernie.geckolib:geckolib-forge-1.16.5:3.0.17_mapped_snapshot_20201028-1.16.3.
 Searched in the following locations:
 - file:/C:/Users/(my name)/.mcreator/gradle/caches/forge_gradle/bundeled_repo/software/bernie/geckolib/geckolib-forge-1.16.5/3.0.17_mapped_snapshot_20201028-1.16.3/geckolib-forge-1.16.5-3.0.17_mapped_snapshot_20201028-1.16.3.pom
 - file:/C:/Users/(my name)/.mcreator/gradle/caches/forge_gradle/bundeled_repo/software/bernie/geckolib/geckolib-forge-1.16.5/3.0.17_mapped_snapshot_20201028-1.16.3/geckolib-forge-1.16.5-3.0.17_mapped_snapshot_20201028-1.16.3.jar
 Required by:
  project :
* 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

The only things I changed were the 100 or so lines of all the file paths the software searched through and removing my name. Other than that, this is the exact text I keep getting as an error. If anyone understands what is going on here (my ooga booga monkey brain sure can't), I would appreciate some help.

Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
UPDATE: I completely wiped…
Thu, 12/30/2021 - 18:43

UPDATE:

I completely wiped everything that had to do with the plugin from MCreator and deleted the files for each mod element that required it, which fixed the build error. I'm obviously a bit upset that I had to delete some parts of my mod in order for the workspace even open, but I can try to recreate them without the plugin. They were all mobs that used Geckolib, which isn't even necessary now that Blockbench has the new Entity Wizard.

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I had the same error, but i…
Fri, 01/28/2022 - 00:59

I had the same error, but i don't have any idea how to solve it!