Gradle and Maven are commonly used in two projects under eco Java build tool.
Which, Maven used for building Java projects, and Gradle is widely used in the Android world, especially to give up in Google Eclipse switch to AS after as the preferred IDE, Gradle has been promoted considerable range.
Gradle installation
Window installation under Gradle
Prerequisite: The machine has been installed JDK
Download Gradle4.4.1 zip package Download
Unzip to a local disk:c:gradle
The machine configuration PATH: adding C:gradlegradle-4.4.1bin
to the PATH value
test:
gradle -v |
The basic concepts of Gradle
- Project: refers to the construction of our products (such as Jar package) or the product of (deploy applications to a production environment). A project that contains one or more tasks.
- Task: refers to the smallest indivisible unit of work, implementation of building work (such as compiling project or perform tests).
Each building contains one or more items.
Gradle commonly used commands
reference
Original: Big Box Gradle use a small mind