Upgrading Gradle

Benjamin Wall :

I am fully aware that there are pages on the Gradle website that say how to upgrade, but only from 4.x and up.

I am trying to follow a tutorial in making a simple 'my first' Minecraft mod. In it, you are told to install forge 1.7.10, which, from what I understand runs on Gradle 2.0.

In order for me to continue with the tutorial, after some digging, it appears that Gradle 2.0 is not compatible with JDK 12.0.2, but I'm not entirely sure how to solve this.

any help is much 'preciated.

SHASHI SHEKHAR Barnwal :

extending the answer from Chriki, you can change the gradle version in $projectroot/gradle/wrapper/gradle-wrapper.properties here you can change the path to point to already downloaded gradle-bin, something like this (distributionUrl=../../../build/tools/gradle-4.10.3-bin.zip) or directly to gradle repository (e.g. distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=306481&siteId=1