译者序
1.
Introduction(简介)
1.1.
Goals of the new Build System(gradle构建系统的目标)
1.2.
Why Gradle?(为什么使用gradle)
2.
Requirements(要求)
3.
Basic Project(基本项目)
3.1.
Simple build files(简单的构建文件)
3.2.
Project Structure(项目结构)
3.2.1.
Configuring the Structure
3.3.
Build Tasks(构建任务)
3.3.1.
General Tasks(通用任务)
3.3.2.
Java project tasks(Java项目的Task)
3.3.3.
Android tasks
3.4.
Basic Build Customization(基本的构建定制)
3.4.1.
Manifest entries (Manifest属性)
3.4.2.
Build Types(构建类型)
3.4.3.
signing configurations(签名配置)
3.4.4.
Running Proguard(运行 Proguard)
4.
Dependencies,Android Libraries and Multi-project setup(依赖关系,Android库和多项目设置)
4.1.
Dependencies on binary packages(依赖二进制包)
4.1.1.
Local packages(本地包)
4.1.2.
Remote artifacts(远程文件)
4.2.
Multi project setup(多项目设置)
4.3.
Library projects(库项目)
4.3.1.
Creating a Library Project(创建一个库项目)
4.3.2.
Differences between a Project and a Library Project(普通项目和库项目之间的区别)
4.3.3.
Referencing a Library(引用一个库项目)
4.3.4.
Library Publication(库项目发布)
5.
Testing(测试)
5.1.
Basics and Configuration(基本知识和配置)
5.2.
Running tests(运行测试)
5.3.
Testing Android Libraries(测试Android库)
5.4.
Test reports(测试报告)
5.4.1.
Single projects(独立项目)
5.4.2.
Multi-projects reports(多项目报告)
5.5.
Lint support(Lint支持)
6.
Build Variants(构建变种版本)
6.1.
Product flavors(不同定制的产品)
6.2.
Build Type + Product Flavor = Build Variant(构建类型+定制产品=构建变种版本)
6.3.
Product Flavor Configuration(Product Flavor的配置)
6.4.
Sourcesets and Dependencies(源组件和依赖关系)
6.5.
Building and Tasks(构建和任务)
6.6.
Testing(测试)
6.7.
Multi-flavor variants
7.
Advanced Build Customization(高级构建定制)
7.1.
Build options(构建选项)
7.1.1.
Java Compilation options(Java编译选项)
7.1.2.
aapt options(aapt选项)
7.1.3.
dex options(dex选项)
7.2.
Manipulation tasks(操作task)
7.3.
BuildType and Product Flavor property reference(BuildType和Product Flavor属性参考)
7.4.
Using sourceCompatibility 1.7(使用(JDK)1.7版本的sourceCompatibility)
Published using GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
Gradle Android插件用户指南翻译
Build Tasks(构建任务)