You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong gradle version autoinstalls constantly #4165
This program installs gradle 8.11.1, instead of gradle 8.12.1.
gradle/wrapper/gradle-wrapper.properties has "distributionUrl=https://services.gradle.org/distributions/gradle-8.12.1-bin.zip". gradle 8.12.1 is already installed.
8.11.1 is autoinstalled alongside 8.12.1 and then used for resolution, so build.gradle errors:
The supplied phased action failed with an exception.
A problem occurred configuring root project 'AntiRank'.
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:20250323.164030-5
Plugin net.fabricmc:fabric-loom:1.10-SNAPSHOT:20250323.164030-5 requires at least Gradle 8.12. This build uses Gradle 8.11.1.
[Error - 11:49:50 AM] 27. mars 2026, 11:49:50 Initialization failed
org.gradle.tooling.BuildException: Could not fetch model of type 'GradleProject' using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-8.9-bin.zip'.
...
Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'C:\Users\moni\source\repos\DIPS.FOP\src\fop-worker\build.gradle.kts' line: 1
An exception occurred applying plugin request [id: 'com.gradleup.shadow', version: '9.2.2']
...
Caused by: org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'com.gradleup.shadow', version: '9.2.2']
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.exceptionOccurred(DefaultPluginRequestApplicator.java:179)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.access$400(DefaultPluginRequestApplicator.java:52)
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$ApplyAction.apply(DefaultPluginRequestApplicator.java:160)
... 167 more
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin class 'com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin'.
at org.gradle.api.internal.plugins.DefaultPluginManager.doApply(DefaultPluginManager.java:176)
...
Caused by: org.gradle.api.GradleException: This version of Shadow supports Gradle 8.11+ only. Please upgrade.
at com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin.apply(ShadowBasePlugin.kt:21)
at com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin.apply(ShadowBasePlugin.kt:17)
...
Activity
moni-dips commentedon Mar 27, 2026
I have these settings in my workspace:
{ "java.import.gradle.wrapper.enabled": false, "java.import.gradle.version": "9.4.1", }but they are ignored, so the extension fails: