[Introduction] gradle use -gradle

Gradle basic components


   Gradle is a framework that defines its own set of rules, so to figure out Gradle, it must comply with the principles of design, let's first find out some of the concepts of Gradle:

  • Gradle, the project is compiled each to be a Project, each Project when building contains a series of Task, such as a compiler Android APK might contain: java source code compilation Task, resource compiler Task, JNI compiler Task, lint check the Task, APK package generated the Task, Task signatures and so on. By [gradle directory: tasks] command to view the task the corresponding directory project's what.
  • Gradle as a framework, responsible for defining processes and rules, and specific compilation work is done by way of plug-ins, such as java plugins, Groovy plugins, Android App plug-in, Android Library plug-ins.

 

 

Guess you like

Origin www.cnblogs.com/zhouliweiblog/p/5532173.html