Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adaef486 authored by Joe Fernandez's avatar Joe Fernandez Committed by Android Git Automerger
Browse files

am e78489b4: am e22b42b3: Merge "docs: plugin reference update" into lmp-docs

* commit 'e78489b4':
  docs: plugin reference update
parents 85e645ac e78489b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
  <li>Add a new build rule under <code>dependencies</code> for the latest version of
<code>play-services</code>. For example:
<code>play-services</code>. For example:
<pre class="no-pretty-print">
<pre class="no-pretty-print">
apply plugin: 'android'
apply plugin: 'com.android.application'
...
...


dependencies {
dependencies {
+2 −2
Original line number Original line Diff line number Diff line
@@ -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>
<code>BuildSystemExample</code> project looks like this:</p>


<pre>
<pre>
apply plugin: 'android'
apply plugin: 'com.android.application'


android {
android {
    compileSdkVersion 19
    compileSdkVersion 19
@@ -72,7 +72,7 @@ dependencies {
}
}
</pre>
</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
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>
<code>android {...}</code> element available to specify Android-specific build options.</p>


+1 −1
Original line number Original line Diff line number Diff line
@@ -300,7 +300,7 @@ dependencies {
  overrides the manifest settings.  </p>
  overrides the manifest settings.  </p>


<pre>
<pre>
apply plugin: 'android'
apply plugin: 'com.android.application'


android {
android {
    ...
    ...