gradle failed

Started by Ahmet Enes TAŞÇI on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gradle failed

I keep getting the following error please help. I tried uninstalling the antivirus but it didn't work.

Executing Gradle task: eclipse
Build info: MCreator 2023.1.10610, forge-1.16.5, 64-bit, 8117 MB, Windows 10, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-04-05-14:35:47

FAILURE: Build failed with an exception.
* Where:
Build file 'D:\modworkspace\build.gradle' line: 10
* What went wrong:
A problem occurred evaluating root project 'modworkspace'.
> Failed to apply plugin 'net.minecraftforge.gradle'.
> Failed to validate certificate for host 'https://libraries.minecraft.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
BUİLD FAILED in 14s

BUILD FAILED
Task completed in 15 seconds