How to install and run the Gradle Wrapper


To install and run the Gradle Wrapper

mkdir my-project
cd my-project
gradle wrapper
./gradlew build

Install-Gradel-Wrapper

[root@aryan-34252e5f2 ~]# mkdir my-project
[root@aryan-34252e5f2 ~]# cd my-project
[root@aryan-34252e5f2 my-project]# gradle wrapper
Starting a Gradle Daemon (subsequent builds will be faster)

BUILD SUCCESSFUL in 6s
1 actionable task: 1 executed
[root@aryan-34252e5f2 my-project]# ./gradlew build
Downloading https://services.gradle.org/distributions/gradle-4.7-bin.zip
……………………………………………………………..

> Task :buildEnvironment

————————————————————
Root project
————————————————————

classpath
No dependencies

A web-based, searchable dependency report is available by adding the –scan option.

BUILD SUCCESSFUL in 6s
1 actionable task: 1 executed
[root@aryan-34252e5f2 my-project]#

 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s