Skip to content

Won't build because of outdated Gradle #87

Description

@doppelkorn

Summary
The project fails to build with the current gradle-wrapper.properties configuration. Updating the distributionUrl to use Gradle 4.9 resolves the issue on both Manjaro Linux and Windows.

Steps to Reproduce

  • Clone the repository: git clone https://github.com/AlexIIL/CustomLoadingScreen.git cd CustomLoadingScreen
  • Run the build with the existing wrapper: ./gradlew build
  • Build fails with: Failed to apply plugin [id 'net.minecraftforge.gradle.forge'] Could not generate a proxy class for class net.minecraftforge.gradle.tasks.ExtractConfigTask

Expected Behavior
Project should build successfully using the provided Gradle wrapper.

Actual Behavior
Build fails due to ForgeGradle incompatibility with the Gradle version specified in gradle-wrapper.properties..

Fix
Update gradle-wrapper.properties to pin Gradle 4.9:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-4.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

Verification

  • Tested on Manjaro Linux (OpenJDK 8) → build succeeds
  • Tested on Windows 10 (Oracle JDK 8) → build succeeds

Notes
The critical change is the distributionUrl pointing to Gradle 4.9. Without this, ForgeGradle 2.3 fails to initialize correctly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions