Gradle Commands
In this article, sharing Gradle Commands which are using frequently to build the project, clean build the project, compile or execute the test cases and skip the test cases execution.
Gradle commands
Go to the project location and execute the following command for the respective activity.
Command | Description |
---|---|
|
build project, runs both the assemble and check task |
|
delete the earlier generated project jar file |
|
build project complete from scratch |
|
Run the tests |
|
to see the list of available tasks for the project |
|
to see the list of available properties for the project |
We would prefer always you can build the project via ./gradlew clean build command
Hello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting, Website Development, and IAM(ForgeRock) Specialist
I am a self-learner and passionate about training and writing. I am always trying my best to share my knowledge through my blog.