I am beginner in making a mods for Minecraft and I cant configure the Gradle in IDEA. I’ve tried different versions of Java: 21, 24, 17. All of them give out this:
A problem occurred configuring root project ‘test1’.
Could not resolve all artifacts for configuration ‘classpath’.
Could not resolve net.fabricmc:fabric-loom:1.17.11.
Required by:
buildscript of root project ‘test1’ > net.fabricmc.fabric-loom-remap:net.fabricmc.fabric-loom-remap.gradle.plugin:1.17-SNAPSHOT:20260611.210927-11
Dependency requires at least JVM runtime version 21. This build uses a Java 17 JVM.
Try:
Run this build using a Java 21 or newer JVM.
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 from a Build Scan (powered by Develocity).
Get more help at https://help.gradle.org.
My mod is not something unusual - it is just a mod from a fabric template.
PLEASE HELP!
