We would like to introduce Gradle to you, a build system that we think is a quantum leap for build technology in the Java (JVM) world. Gradle provides:
//gradle构建是在java虚拟机中构建技术的巨大飞跃
-
A very flexible general purpose build tool like Ant. //像ant一样可以灵活构建
-
Switchable, build-by-convention frameworks a la Maven. But we never lock you in!//可选可切换
-
Very powerful support for multi-project builds.//强有力支持多项目构建
-
Very powerful dependency management (based on Apache Ivy).//强大的依赖管理
-
Full support for your existing Maven or Ivy repository infrastructure.//支持maven和Ivy管理库
-
Support for transitive dependency management without the need for remote repositories or
pom.xml
andivy.xml
files.//支持传递依赖管理,不需要远程库或者pom.xml、
ivy.xml文件
-
Ant tasks and builds as first class citizens.
-
Groovy build scripts. //使用Groovy构建脚本
-
A rich domain model for describing your build.//具体描述构建的丰富的域模型
In Chapter 2, Overview you will find a detailed overview of Gradle. Otherwise, the tutorials are waiting, have fun :)
This user guide, like Gradle itself, is under very active development. Some parts of Gradle aren't documented as completely as they need to be. Some of the content presented won't be entirely clear or will assume that you know more about Gradle than you do. We need your help to improve this user guide. You can find out more about contributing to the documentation at the Gradle web site.
Throughout the user guide, you will find some diagrams that represent dependency relationships between Gradle tasks. These use something analogous to the UML dependency notation, which renders an arrow from one task to the task that the first task depends on.