summaryrefslogtreecommitdiffstats
path: root/docs/html/tools/revisions
diff options
context:
space:
mode:
authorRich Slogar <rslogar@google.com>2015-03-30 13:33:38 -0700
committerRich Slogar <rslogar@google.com>2015-04-29 15:58:27 -0700
commite5eceefff93833de70fb3be9cbc75f0f97ad9220 (patch)
tree65704e21946493b9c907738a22bd7774b3d46d5a /docs/html/tools/revisions
parent00f857c5a132555774bd286c254dade281473427 (diff)
downloadframeworks_base-e5eceefff93833de70fb3be9cbc75f0f97ad9220.zip
frameworks_base-e5eceefff93833de70fb3be9cbc75f0f97ad9220.tar.gz
frameworks_base-e5eceefff93833de70fb3be9cbc75f0f97ad9220.tar.bz2
docs: plugin 1.2.0 revision updates
Change-Id: Ic58da005e16c4a51dacff741ac3e5a7856ac3edb
Diffstat (limited to 'docs/html/tools/revisions')
-rw-r--r--docs/html/tools/revisions/gradle-plugin.jd68
1 files changed, 68 insertions, 0 deletions
diff --git a/docs/html/tools/revisions/gradle-plugin.jd b/docs/html/tools/revisions/gradle-plugin.jd
index fd294d2..90ec44a 100644
--- a/docs/html/tools/revisions/gradle-plugin.jd
+++ b/docs/html/tools/revisions/gradle-plugin.jd
@@ -36,9 +36,77 @@ plugin you are using, check the version declaration in the project-level
<p>For a summary of known issues in Android Plugin for Gradle, see <a
href="http://tools.android.com/knownissues">http://tools.android.com/knownissues</a>.</p>
+
<div class="toggle-content opened">
<p><a href="#" onclick="return toggleContent(this)">
<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img"
+ alt=""/>Android Plugin for Gradle, Revision 1.2.0</a> <em>(April 2015)</em>
+ </p>
+
+ <div class="toggle-content-toggleme">
+
+ <dl>
+ <dt>Dependencies:</dt>
+
+ <dd>
+ <ul>
+ <li>Gradle 2.2.1 or higher.</li>
+ <li>Build Tools 21.1.1 or higher.</li>
+ </ul>
+ </dd>
+
+ <dt>General Notes:</dt>
+ <dd>
+ <ul>
+ <li>Enhanced support for running unit tests with Gradle. </li>
+ <ul>
+ <li>Added support to include Java-style resources in the classpath when running unit
+ tests directly from Gradle.
+ </li>
+ <li>Added unit test dependency support for Android ARchive (AAR) artifacts.
+ </li>
+ <li>Added support for the <code>unitTestVariants</code> property so unit test variants
+ can be manipulated using the <code>build.gradle</code> file.
+ </li>
+ <li>Added the <code>unitTest.all</code> code block under <code>testOptions</code> to
+ configure customized tasks for unit test. The following sample code shows how to add
+ unit test configuration settings using this new option:
+<pre>
+android {
+ testOptions {
+ unitTest.all {
+ jvmArgs '-XX:MaxPermSize=256m' // Or any other gradle option.
+ }
+ }
+}
+</pre>
+ </li>
+ <li>Fixed the handling of enums and public instance fields in the packaging of the
+ <code>mockable-android.jar</code> file.
+ </li>
+ <li>Fixed library project task dependencies so test classes recompile after changes.
+ </li>
+ </ul>
+ <li>Added the <code>testProguardFile</code> property to apply
+ <a href="{@docRoot}tools/help/proguard.html">ProGuard</a> files when minifying a test APK.
+ </li>
+ <li>Added the <code>timeOut</code> property to the <code>adbOptions</code> code block
+ for setting the maximum recording time for
+ <a href="{@docRoot}tools/help/adb.html">Android Debug Bridge</a> screen recording.
+ </li>
+ <li>Added support for 280 dpi resources.
+ </li>
+ <li>Improved performance during project evaluation.
+ </li>
+ </ul>
+ </dd>
+ </div>
+</div>
+
+
+<div class="toggle-content closed">
+ <p><a href="#" onclick="return toggleContent(this)">
+ <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
alt=""/>Android Plugin for Gradle, Revision 1.1.3</a> <em>(March 2015)</em>
</p>