Gradle Commands

Posted on Posted in Cheat Sheets, Topics

Learning a build automation system or at least understanding the concept behind them is a mandatory skill set for any software engineering.

Similar to Apache Ant and Apache Maven, Gradle is an open source build automation system that comes as an improvement of established concepts.

It can handle large multi-project software systems, it is designed to be IDE agnostic and it can also be used by continues integration tools such as Jenkins.

Gradle Commands

Test the Gradle installation:

 

To see a list of available tasks:

 

List of available tasks and their dependencies

 

To run a task:

 

To install in local Maven repository (prerequisite: apply plugin: ‘maven’)

 

Enabling the Gradle Daemon (a long-lived background process that executes your builds much more quickly)

or

 

Disabling the Gradle Daemon

 

To be continued…

Spread the knowledge

Leave a Reply

Your email address will not be published. Required fields are marked *