Thursday, August 15, 2019

How to install Gradle ?

Install on the MacOs

The current Gradle release is 5.6. You can download binaries and view docs for all Gradle versions from the

Prerequisites 

$ java -version
java version "1.8.0_121"

Homebrew 

$ brew install gradle

Step 3. Configure your system environment

$ export PATH=$PATH:/opt/gradle/gradle-5.6/bin

Step 4. Verify your installation

$ gradle -v

Install the gradlew 

gradle wrapper --gradle-version 2.13 Starting a Gradle Daemon (subsequent builds will be faster)

Upgrade with the Gradle Wrapper

$ ./gradlew wrapper --gradle-version=5.6 --distribution-type=bin



$ ./gradlew tasks
Downloading https://services.gradle.org/distributions/gradle-5.6-bin.zip
...

No comments:

Post a Comment