You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/08/08 18:01:51 UTC

[cordova-docs] branch master updated: (Android) Fix paths to build-extras.gradle and gradle.properties (#810)

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new 79dc7cd  (Android) Fix paths to build-extras.gradle and gradle.properties (#810)
79dc7cd is described below

commit 79dc7cd11f8a50c1b4d1e35ab7c84bdad957d8df
Author: Piotr <he...@piotr.cz>
AuthorDate: Wed Aug 8 20:01:47 2018 +0200

    (Android) Fix paths to build-extras.gradle and gradle.properties (#810)
    
    * Fix paths to build-extras.gradle and gradle.properties
    
    Since cordova-android v7.0 paths to `build-extras.gradle` and `gradle.properties` have changed (see https://github.com/apache/cordova-android/pull/389)
    
    * reword
---
 www/docs/en/dev/guide/platforms/android/index.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/docs/en/dev/guide/platforms/android/index.md b/www/docs/en/dev/guide/platforms/android/index.md
index 4436d5a..51fd2c9 100644
--- a/www/docs/en/dev/guide/platforms/android/index.md
+++ b/www/docs/en/dev/guide/platforms/android/index.md
@@ -222,7 +222,7 @@ You can set these properties in one of four ways:
       like so:
 
       ```
-      # In <your-project>/platforms/android/gradle.properties
+      # In <your-project>/platforms/android/app/gradle.properties
       cdvMinSdkVersion=20
       ```
 
@@ -230,7 +230,7 @@ You can set these properties in one of four ways:
     and setting the property like so:
 
       ```groovy
-      // In <your-project>/platforms/android/build-extras.gradle
+      // In <your-project>/platforms/android/app/build-extras.gradle
       ext.cdvMinSdkVersion = 20
       ```
 
@@ -246,9 +246,9 @@ as part of the build command by using the `before_build`
 If you need to customize `build.gradle`, rather than edit it directly, you
 should create a sibling file named `build-extras.gradle`. This file will be
 included by the main `build.gradle` when present. This file must be placed in
-the android platform directory (`<your-project>/platforms/android`), so it is
-recommended that you copy it over via a script attached to the `before_build`
-[hook](../../appdev/hooks/index.html).
+the `app` folder of the Android platform directory (`<your-project>/platforms/android/app`), 
+so it is recommended that you copy it over via a script attached to the 
+`before_build` [hook](../../appdev/hooks/index.html).
 
 Here's an example:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org