I’m using gradle for minecraft forge modding but when im trying to build the workspace i just get that error:
Executing
Gradle task: eclipse
Build
info: MCreator 2021.1.18117, forge-1.16.5, 64-bit, 4012 MB, Windows 10,
JVM 1.8.0_275, JAVA_HOME: E:\MCreator\jdk
org.gradle.tooling.GradleConnectionException:
Could not install Gradle distribution from
‘https://services.gradle.org/distributions/gradle-6.8.1-all.zip’.
at
org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:139
)
at
org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(
CachingToolingImplementationLoader.java:41
)
at
org.gradle.tooling.internal.consumer.loader.SynchronizedToolingImplementationLoader.create(
SynchronizedToolingImplementationLoader.java:44
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.onStartAction(
LazyConsumerActionExecutor.java:161
)
at
org.gradle.tooling.internal.consumer.connection.LazyConsumerActionExecutor.run(
LazyConsumerActionExecutor.java:143
)
at
org.gradle.tooling.internal.consumer.connection.CancellableConsumerActionExecutor.run(
CancellableConsumerActionExecutor.java:45
)
at
org.gradle.tooling.internal.consumer.connection.ProgressLoggingConsumerActionExecutor.run(
ProgressLoggingConsumerActionExecutor.java:61
)
at
org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor.run(
RethrowingErrorsConsumerActionExecutor.java:38
)
at
org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(
DefaultAsyncConsumerActionExecutor.java:67
)
at
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(
ExecutorPolicy.java:64
)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(
ManagedExecutorImpl.java:48
)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1149
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:624
)
at
org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(
ThreadFactoryImpl.java:56
)
at java.lang.Thread.run(
Thread.java:748
)
Caused
by: java.lang.RuntimeException: Timeout of 120000 reached waiting for
exclusive access to file:
C:\Users\Hp.mcreator\gradle\wrapper\dists\gradle-6.8.1-all\923to48kq3drqywuppfjkcokx\gradle-6.8.1-all.zip
at org.gradle.wrapper.ExclusiveFileAccessManager.access(
ExclusiveFileAccessManager.java:65
)
at org.gradle.wrapper.Install.createDist(
Install.java:48
)
at org.gradle.tooling.internal.consumer.DistributionInstaller.install(
DistributionInstaller.java:72
)
at
org.gradle.tooling.internal.consumer.DistributionFactory$ZippedDistribution.getToolingImplementationClasspath(
DistributionFactory.java:133
)
... 14 more
TASK
EXECUTION FAILED
Task
completed in 2 minutes and 2 seconds
I just have Intel I5 7200U
AMD Radeon 520
4 GB ddr3 ram