Topic category: Troubleshooting, bugs, and solutions
When I want to build and run my mod it gets an error and deleting gradle caches or regenerating code doesn't work. The log says:
Executing Gradle task: runClient
Build info: MCreator 2022.2.34517, forge-1.18.2, 64-bit, 7777 MB, Windows 11, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-09-20-08:49:55
FAILURE: Build failed with an exception.
Build file 'C:\Users\*****\MCreatorWorkspaces\jenshin\build.gradle' line: 12
* What went wrong:
A problem occurred evaluating root project 'jenshin'.
> 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'.
> 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 17s
Task completed in 18 seconds
Please help me I want to continue working on my mod