From 07aac5e346c3fed31254e34d386c6236f1ac3f22 Mon Sep 17 00:00:00 2001 From: Ricardo Cervera Date: Thu, 3 Apr 2014 18:04:41 -0700 Subject: docs: Moved small section in Build your project with Gradle doc. Bug: 13767801 Change-Id: Ibf718f6051aabaf1120d4245ffc870fa928138be --- docs/html/sdk/installing/studio-build.jd | 33 ++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'docs/html') diff --git a/docs/html/sdk/installing/studio-build.jd b/docs/html/sdk/installing/studio-build.jd index 8674134..2a616a0 100644 --- a/docs/html/sdk/installing/studio-build.jd +++ b/docs/html/sdk/installing/studio-build.jd @@ -23,6 +23,7 @@ page.title=Building Your Project with Gradle
  • Add a library module
  • Build the project
  • Build from the command line
  • +
  • Build a release version
  • Configure the Build @@ -463,6 +464,24 @@ $ ./gradlew tasks +

    Build a release version

    + +

    You can build the release version of your application from the command line or using Android +Studio. To build it from the command line, invoke the assembleRelease build task using +the Gradle wrapper script (gradlew assembleRelease). To build it from Android +Studio:

    + +
      +
    1. Click Gradle on the right side of the IDE window.
    2. +
    3. On the All tasks section of the sidebar that appears, expand + BuildSystemExample.
    4. +
    5. Expand :app and double-click assembleRelease.
    6. +
    + +

    You can use this procedure to invoke any build task from Android Studio.

    + + +

    Configure the Build

    This section uses the BuildSystemExample project from the previous section and @@ -643,20 +662,6 @@ settings from the Android SDK installation. Android Studio adds the module-speci proguard-rules.txt at the root of the module, where you can add custom ProGuard rules.

    -

    You can build the release version of your application from the command line or using Android -Studio. To build it from the command line, invoke the assembleRelease build task using -the Gradle wrapper script (gradlew assembleRelease). To build it from Android -Studio:

    - -
      -
    1. Click Gradle on the right side of the IDE window.
    2. -
    3. On the All tasks section of the sidebar that appears, expand - BuildSystemExample.
    4. -
    5. Expand :app and double-click assembleRelease.
    6. -
    - -

    You can use this procedure to invoke any build task from Android Studio.

    -

    Configure signing settings

    The debug and the release versions of the app differ on whether the application can be -- cgit v1.1