Skip to content

Wrong gradle version autoinstalls constantly #4165

@VillainsRule

Description

@VillainsRule

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.

The settings are also not working.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions