我们很高兴向大家介绍Gradle,一个我们认为在Java(JVM)世界的构建技术上富有突破性的构建系统。它提供了:
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:
一个像Ant一样非常灵活而通用的构建工具。
A very flexible general purpose build tool like Ant.
按Maven的方式的基于约定的框架。但我们从不会去限定你,它是可切换的。
Switchable, build-by-convention frameworks a la Maven. But we never lock you in!
非常强大的多项目构建支持。
Very powerful support for multi-project builds.
(基于Apache Ivy的)非常强大的依赖管理。
Very powerful dependency management (based on Apache Ivy).
完全支持已有的Maven或Ivy仓库结构。
Full support for your existing Maven or Ivy repository infrastructure.
支持传递性依赖管理,而不需要远程仓库或是 pom.xml
以及 ivy.xml
文件。
Support for transitive dependency management without the need for remote repositories or pom.xml
and ivy.xml
files.
Ant 任务和构建是Gradle的第一公民。
Ant tasks and builds as first class citizens.
使用Groovy 语言的构建脚本。
Groovy build scripts.
丰富的领域模型来描述您的构建。
A rich domain model for describing your build.
在 《第二章,概述》,你将会看到有关Gradle的详细介绍。另一方面, 教程 在等你,开始吧。
In Chapter 2, Overview you will find a detailed overview of Gradle. Otherwise, the tutorials are waiting, have fun :)
与Gradle一样,本指南也在不断地更新。一些Gradle的内容并未完全进行描述。有些内容并未完整描述,或者是假定了您对Gradle有一定的了解。我们需要您来帮助一起提供本指南。有关如何参与贡献文档的信息,可以在 Gradle 官方网站上找到。
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.