【Gradle Build Tool 4.1用户指南】Chapter 1. Introduction 第一章、介绍

来源:互联网 发布:网络银行系统的组成 编辑:程序博客网 时间:2024/05/21 17:07

Table of Contents 目录

1.1. About this user guide 

 

关于此用户指南

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构建技术世界里具有巨大突破性的构建工具。Gradle具有如下特性:

A very flexible general purpose build tool like Ant.

Ant一样灵活且通用的构建工具。

Switchable, build-by-convention frameworks a la Maven. But we never lock you in!

又像Maven一样是基于约定的构建框架,但却又从不约束你(约定优于配置)。

Very powerful support for multi-project builds.

对多项目构建的强力支持。

Very powerful dependency management (based on Apache Ivy).

对依赖管理的强力支持(基于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 and ivy.xml files.

支持可传递性的依赖管理,而不需要远程仓库或者pom.xml和ivy.xml配置文件。

Ant tasks and builds as first class citizens.

优先支持Ant任务和构建。

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 :)

在第二章的概述,详细概述了Gradle。或者,也可查阅后面的教程。

 

1.1. About this user guide 

关于此用户指南

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.

此用户指南,就像Gradle本身,经常更新发展。有些部分并没有想象中的那么完善。有些内容并没有足够清晰的表达出来或者有些内容是建立在假设你已经对Gradle有一定了解的基础上(实际上你可能对Gradle并不是很了解)。我们需要你帮助完善这篇指南,你可以在Gradle的官方网站上找到更多有助于阅读该指南的文档。

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.

贯穿整个用户指南,你会发现一些用于描绘Gradle tasks之间的依赖关系的图表。这些图表有点像UML的依赖标记一样,从一个task延伸出一个箭头指向另一个task,这表示前一个task依赖于后一个task。