Merge "docs: plugin reference update" into lmp-docs

This commit is contained in:
Joe Fernandez
2014-12-18 17:43:32 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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>

View File

@@ -300,7 +300,7 @@ dependencies {
overrides the manifest settings. </p>
<pre>
apply plugin: 'android'
apply plugin: 'com.android.application'
android {
...