CustomLoadingScreen icon indicating copy to clipboard operation
CustomLoadingScreen copied to clipboard

Won't build because of outdated Gradle

Open doppelkorn opened this issue 1 month ago • 0 comments

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.

doppelkorn avatar Nov 21 '25 16:11 doppelkorn