Error with setting Gradle project

Started by Radis on

Topic category: Help with MCreator software

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error with setting Gradle project

Executing Gradle synchronization tasks
Build info: MCreator 2025.3.45720, forge-1.20.1, 64-bit, 15540 MB, Windows 10, JVM 21.0.8, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2026-02-12-22:39:29

> Task :createMinecraftArtifacts
> Task :createMinecraftArtifacts FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':createMinecraftArtifacts'.
> Error while evaluating property 'artifactManifestEntries' of task ':createMinecraftArtifacts'.
> Could not resolve all artifacts for configuration ':neoFormRuntimeExternalTools'.
> Could not download DiffPatch-2.0.0.36-all.jar (io.codechicken:DiffPatch:2.0.0.36)
> Could not get resource 'https://maven.neoforged.net/releases/io/codechicken/DiffPatch/2.0.0.36/…'.
> Read timed out
> Could not download jst-cli-bundle-1.0.74.jar (net.neoforged.jst:jst-cli-bundle:1.0.74)
> Could not get resource 'https://maven.neoforged.net/releases/net/neoforged/jst/jst-cli-bundle/1…'.
> Read timed out
> Could not download mergetool-1.1.7-fatjar.jar (net.minecraftforge:mergetool:1.1.7)
> Could not get resource 'https://maven.neoforged.net/releases/net/minecraftforge/mergetool/1.1.7…'.
> Read timed out
> Could not download Quack-0.4.10.101.jar (net.covers1624:Quack:0.4.10.101)
> Could not get resource 'https://maven.neoforged.net/releases/net/covers1624/Quack/0.4.10.101/Qu…'.
> Read timed out
> Could not download fastutil-8.3.1.jar (it.unimi.dsi:fastutil:8.3.1)
> Could not get resource 'https://maven.neoforged.net/releases/it/unimi/dsi/fastutil/8.3.1/fastut…'.
> Read timed out
> Could not download commons-lang3-3.9.jar (org.apache.commons:commons-lang3:3.9)
> Could not get resource 'https://maven.neoforged.net/releases/org/apache/commons/commons-lang3/3…'.
> Read timed out
> Could not download commons-compress-1.18.jar (org.apache.commons:commons-compress:1.18)
> Could not get resource 'https://maven.neoforged.net/releases/org/apache/commons/commons-compres…'.
> Read timed out
> Could not download xz-1.8.jar (org.tukaani:xz:1.8)
> Could not get resource 'https://maven.neoforged.net/releases/org/tukaani/xz/1.8/xz-1.8.jar'.
> Read timed out
> Could not download asm-util-9.5.jar (org.ow2.asm:asm-util:9.5)
> Could not get resource 'https://maven.neoforged.net/releases/org/ow2/asm/asm-util/9.5/asm-util-…'.
> Read timed out
> Could not download asm-analysis-9.5.jar (org.ow2.asm:asm-analysis:9.5)
> Could not get resource 'https://maven.neoforged.net/releases/org/ow2/asm/asm-analysis/9.5/asm-a…'.
> Read timed out
> Could not download asm-tree-9.5.jar (org.ow2.asm:asm-tree:9.5)
> Could not get resource 'https://maven.neoforged.net/releases/org/ow2/asm/asm-tree/9.5/asm-tree-…'.
> Read timed out
> Could not download asm-9.5.jar (org.ow2.asm:asm:9.5)
> Could not get resource 'https://maven.neoforged.net/releases/org/ow2/asm/asm/9.5/asm-9.5.jar'.
> Read timed out
> Could not download srgutils-0.4.15.jar (net.minecraftforge:srgutils:0.4.15)
> Could not get resource 'https://maven.neoforged.net/releases/net/minecraftforge/srgutils/0.4.15…'.
> Read timed out
* 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 generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 41s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 1 minute and 41 seconds

 

I assume that the problem with the lack of access to maven.neoforged.net is due to the fact that I live in Russia. I tried to put these files manually, but no matter where I insert them, the MCreator does not see them. The firewall and Microsoft Defender are disabled. The Internet connection and VPN are normal. Zapret is configured for blocked sites.

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe I need to add Gradle…
Fri, 02/13/2026 - 16:46

Maybe I need to add Gradle files manually after all?

I am not sure if this is…
Sat, 02/14/2026 - 18:35

I am not sure if this is possible in modern Gradle versions since Gradle constantly checks for file integrity remotely

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, I still haven't…
Mon, 02/16/2026 - 17:18

Well, I still haven't figured out how to fix it, but everything works for me on 2025.1 version.

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'll write a short guide on…
Sun, 03/08/2026 - 01:49

I'll write a short guide on how to fix the Gradle issue in MCreator.
(This method works in Russia and other countries where some services may be restricted.)

The problem is that Java sometimes uses a different network connection, so even if your VPN is enabled you may still get the Gradle download errors. This method redirects Gradle to the proxy server created by your VPN.

First, you need a VPN that supports a SOCKS proxy server. This is required so Gradle can download the dependency files. If your VPN supports this, continue with the steps below.

  1. Launch MCreator and open or create a workspace. Once the Gradle error appears, close the project and exit MCreator completely.
  2. Open File Explorer and go to the folder:
    C:\Users\<YOU>\.mcreator\gradle
    (or wherever your MCreator Gradle folder is located).
  3. Inside this folder create a file called gradle.properties and add the following lines:
systemProp.socksProxyHost=127.0.0.1
systemProp.socksProxyPort=PORT

Replace PORT with the port of your VPN's SOCKS proxy server.
(You can find this information in your VPN settings.)

Save the file and launch the project again.

After doing this, Gradle should start working normally.