How to upgrade Gradle wrapper

Gradle Wrapper –

Upgrade the Gradle wrapper in Windows
Step 1: Upgrade your local gradle installation by the following
  • Download the binary and unzip it into C:\Gradle folder
  • Change the environment variable GRADLE_HOME to reflect the new version
  • Make sure that the path reflects the above changes. (It should be automatic if you use %GRADLE_HOME/bin% in the path
  • Open up a command prompt and type in gradle -v, it should show the latest version
gradle_version

Step 2: Now run the command to upgrade the gradle-wrapper
gradle wrapper --gradle-version 5.4.1 --gradle-distribution-url https\://url.../gradle/gradle-5.4.1-bin.zip
gradle_wrapper
Hope this helps ðŸ™‚

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days