summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Joe Fernandez <joefernandez@google.com> 2015-01-06 02:11:50 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-01-06 02:11:50 +0000
commit5ec2afea01be51e5607e445c401be3296f1ac83e (patch)
tree727750a48420cdf76757a175b8496367d3c5bb05
parenta5478449679366fa48b27ff722160477aeca6dc0 (diff)
parentf3d9f03053390d81e266027c9dcb69b5c3cc3e83 (diff)
am f3d9f030: am adaef486: am e78489b4: am e22b42b3: Merge "docs: plugin reference update" into lmp-docs
* commit 'f3d9f03053390d81e266027c9dcb69b5c3cc3e83': docs: plugin reference update
-rw-r--r--docs/html/google/play-services/setup.jd2
-rw-r--r--docs/html/tools/building/configuring-gradle.jd4
-rw-r--r--docs/html/tools/support-library/setup.jd2
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/html/google/play-services/setup.jd b/docs/html/google/play-services/setup.jd
index 413000fbb3ad..cb3fa17b66ce 100644
--- a/docs/html/google/play-services/setup.jd
+++ b/docs/html/google/play-services/setup.jd
@@ -62,7 +62,7 @@ to <a href="{@docRoot}sdk/installing/adding-packages.html">Adding SDK Packages</
<li>Add a new build rule under <code>dependencies</code> for the latest version of
<code>play-services</code>. For example:
<pre class="no-pretty-print">
-apply plugin: 'android'
+apply plugin: 'com.android.application'
...
dependencies {
diff --git a/docs/html/tools/building/configuring-gradle.jd b/docs/html/tools/building/configuring-gradle.jd
index 2e15473b51eb..5af20969612c 100644
--- a/docs/html/tools/building/configuring-gradle.jd
+++ b/docs/html/tools/building/configuring-gradle.jd
@@ -44,7 +44,7 @@ at the module level. For example, the build file for the app module in the
<code>BuildSystemExample</code> project looks like this:</p>
<pre>
-apply plugin: 'android'
+apply plugin: 'com.android.application'
android {
compileSdkVersion 19
@@ -72,7 +72,7 @@ dependencies {
}
</pre>
-<p><code>apply plugin: 'android'</code> applies the Android plugin for Gradle to this build.
+<p><code>apply plugin: 'com.android.application'</code> applies the Android plugin for Gradle to this build.
This adds Android-specific build tasks to the top-level build tasks and makes the
<code>android {...}</code> element available to specify Android-specific build options.</p>
diff --git a/docs/html/tools/support-library/setup.jd b/docs/html/tools/support-library/setup.jd
index 845cf76563fd..81120714fa53 100644
--- a/docs/html/tools/support-library/setup.jd
+++ b/docs/html/tools/support-library/setup.jd
@@ -300,7 +300,7 @@ dependencies {
overrides the manifest settings. </p>
<pre>
-apply plugin: 'android'
+apply plugin: 'com.android.application'
android {
...