diff --git a/docs/html/tools/building/plugin-for-gradle.jd b/docs/html/tools/building/plugin-for-gradle.jd index a616c3689bd56..aed1af2d61b8b 100644 --- a/docs/html/tools/building/plugin-for-gradle.jd +++ b/docs/html/tools/building/plugin-for-gradle.jd @@ -6,9 +6,22 @@ page.title=Android Plugin for Gradle

In this document

    -
  1. Work with build variants
  2. +
  3. Build Configuration
  4. +
  5. Build by Convention
  6. +
  7. Project and Module Settings
  8. +
  9. Dependencies
  10. +
  11. Build Tasks
  12. +
  13. Gradle Wrapper
  14. +
  15. Build Variants
+

Reference

+

See also

-

Download

-
- Plugin Language Reference -

android-gradle-plugin-dsl.zip

-
-
@@ -41,7 +47,7 @@ Studio and from the command line on your machine or on machines where Android St

The output of the build is the same whether you are building a project from the command line, on a remote machine, or using Android Studio.

-

Build configuration

+

Build Configuration

The build configuration for your project is defined inside build.gradle files, which are plain text files that use the syntax and options from Gradle and the Android plugin @@ -80,7 +86,7 @@ through Groovy syntax. Groovy language that you can use to define custom build logic and to interact with the Android-specific elements provided by the Android plugin for Gradle.

-

Build by convention

+

Build by Convention

The Android Studio build system assumes sensible defaults for the project structure and other build options. If your project adheres to these conventions, your Gradle build files are @@ -89,7 +95,7 @@ build system allows you to configure almost every aspect of the build process. F you need to replace the default source folders in your module directories, you can configure a new directory structure in the module's build file.

-

Projects and modules build settings

+

Project and Module Settings

A project in Android Studio represents the top-level Android development structure. Android Studio projects contain project files and one or more application modules. A @@ -256,7 +262,7 @@ local binary dependencies, and remote binary dependencies.

-

Build tasks

+

Build Tasks

The Android Studio build system defines a hierarchical set of build tasks: the top-level or anchor tasks invoke dependent tasks to produce their collective build outcomes. The top-level build @@ -283,7 +289,7 @@ the command line, as described in and Build the project from the command line.

-

The Gradle wrapper

+

Gradle Wrapper

Android Studio projects contain the Gradle wrapper, which consists of:

@@ -317,7 +323,7 @@ machine and on other machines where Android Studio is not installed.

scripts and JAR from a trusted source, such as those generated by Android Studio.

-

Build variants

+

Build Variants

Each version of your app is represented in the build system by a build variant. Build variants are combinations of product flavors and build types. Product flavors represent