I making a Minecraft mod (almost) first time for Fabric 1.20.1 (lodaer 0.16.10). When I try to build or do something with gradle, it gives an error:
A problem occurred configuring root project 'projectname'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve net.fabricmc:fabric-loom:1.10-SNAPSHOT.
Required by:
root project : > fabric-loom:fabric-loom.gradle.plugin:1.10-SNAPSHOT:20250225.144903-2
> Plugin net.fabricmc:fabric-loom:1.10-SNAPSHOT:20250225.144903-2 requires at least Gradle 8.12. This build uses Gradle 8.11.1.
* Try:
> Upgrade to at least Gradle 8.12. See the instructions at .11.1/userguide/upgrading_version_8.html#sub:updating-gradle.
> Downgrade plugin net.fabricmc:fabric-loom:1.10-SNAPSHOT:20250225.144903-2 to an older version compatible with Gradle 8.11.1.
> 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 .
If I downgrade fabric loom version to 1.9, everything works fine, is it safe to downgrade? Maybe I should do something different?
I making a Minecraft mod (almost) first time for Fabric 1.20.1 (lodaer 0.16.10). When I try to build or do something with gradle, it gives an error:
A problem occurred configuring root project 'projectname'.
> Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve net.fabricmc:fabric-loom:1.10-SNAPSHOT.
Required by:
root project : > fabric-loom:fabric-loom.gradle.plugin:1.10-SNAPSHOT:20250225.144903-2
> Plugin net.fabricmc:fabric-loom:1.10-SNAPSHOT:20250225.144903-2 requires at least Gradle 8.12. This build uses Gradle 8.11.1.
* Try:
> Upgrade to at least Gradle 8.12. See the instructions at https://docs.gradle./8.11.1/userguide/upgrading_version_8.html#sub:updating-gradle.
> Downgrade plugin net.fabricmc:fabric-loom:1.10-SNAPSHOT:20250225.144903-2 to an older version compatible with Gradle 8.11.1.
> 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..
If I downgrade fabric loom version to 1.9, everything works fine, is it safe to downgrade? Maybe I should do something different?
Share Improve this question edited Mar 3 at 8:54 itspansangg asked Mar 3 at 8:43 itspansanggitspansangg 32 bronze badges 3- 2 I'm not sure I understand why you're downgrading fabric loom instead of upgrading gradle, which seems to be the better choice – Federico klez Culloca Commented Mar 3 at 9:30
- I can't find out how to upgrade gradle – itspansangg Commented Mar 3 at 12:05
- docs.gradle./current/userguide/upgrading_version_8.html – duffymo Commented Mar 3 at 13:56
1 Answer
Reset to default 0I agree with the commenter, upgrading gradle is better than downgrading Fabric.
I think a look at this post should help.
Changing default version of gradle in Intellij