From ed1cf523ad44bf1b1ebf657a511fb28bfd3fb203 Mon Sep 17 00:00:00 2001 From: Rich Slogar Date: Wed, 18 Feb 2015 13:09:43 -0800 Subject: [PATCH] docs: android plugin revisions page v2 Change-Id: Ifdefd66149a34590e3d195a9b290bc3be111caf2 --- docs/html/tools/revisions/gradle-plugin.jd | 102 ++++++++++++++++++--- 1 file changed, 90 insertions(+), 12 deletions(-) diff --git a/docs/html/tools/revisions/gradle-plugin.jd b/docs/html/tools/revisions/gradle-plugin.jd index 23170e1b768d3..ebca5c78c7a7a 100644 --- a/docs/html/tools/revisions/gradle-plugin.jd +++ b/docs/html/tools/revisions/gradle-plugin.jd @@ -40,7 +40,7 @@ href="http://tools.android.com/knownissues">http://tools.android.com/knownissues

Android Plugin for Gradle, Revision 1.1 (February 2015) + alt=""/>Android Plugin for Gradle, Revision 1.1.0 (February 2015)

@@ -58,25 +58,59 @@ href="http://tools.android.com/knownissues">http://tools.android.com/knownissues
General Notes:
    -
  • Fixed issue with Gradle build failure when accessing the - extractReleaseAnnotations module. - (Issue 81638).
  • -
  • Fixed debugging issue when displaying method input parameters at breakpoints. - (Issue 82031).
  • -
  • Fixed manifest merger issues when importing libraries with a targetSdkVersion - less than 16.
  • -
  • Fixed density ordering issue when using Android Studio with JDK 8.
  • +
  • Added new unit test support
  • +
      +
    • Enabled + unit tests to + run on the local JVM against a special version of the android.jar file that is + compatible with popular mocking frameworks, for example Mockito.
    • +
    • Added new test tasks testDebug, testRelease, and + testMyFlavorDebug when using product flavors.
    • +
    • Added new source folders recognized as unit tests: src/test/java/, + src/testDebug/java/, src/testMyFlavor/java/. +
    • Added new configurations in the build.gradle file for declaring test-only + dependencies, for example, testCompile 'junit:junit:4.11', + testMyFlavorCompile 'some:library:1.0'. +

      Note: Test-only dependencies are not currently compatible + with Jack (Java Android Compiler Kit).

      +
    • +
    • Added the android.testOptions.unitTests.returnDefaultValues option to + control the behaviour of the mockable android.jar.
    • +
    +
  • Replaced Test in test task names with AndroidTest. + For example, the assembleDebugTest task is now + assembleDebugAndroidTest task. Unit test tasks still have UnitTest + in the task name, for example assembleDebugUnitTest.
  • +
  • Modified ProGuard configuration files to + no longer apply to the test APK. If minification is enabled, ProGuard processes the test APK + and applies only the mapping file that is generated when minifying the main APK.
  • +
  • Updated dependency management
  • +
      +
    • Fixed issues using provided and package scopes. +

      Note: These scopes are incompatible with AAR + (Android ARchive) packages and will cause a build with AAR packages to fail.

      +
    • +
    • Modified dependency resolution to compare the dependencies of an app under test and the + test app. If an artifact with the same version is found for both apps, it's not included with + the test app and is packaged only with the app under test. If an artifact with a different + version is found for both apps, the build fails.
    • +
    + +
  • Added support for anyDpi + resource qualifier + in resource merger.
  • +
  • Improved evaluation and IDE sync speeds for projects with a large number of + Android modules.
-

Android Plugin for Gradle, Revision 1.0 (December 2014) + alt=""/>Android Plugin for Gradle, Revision 1.0.1 (January 2015)

@@ -86,7 +120,51 @@ href="http://tools.android.com/knownissues">http://tools.android.com/knownissues
    -
  • Gradle 2.2.1 or higher.
  • +
  • Gradle 2.2.1 up to 2.3.x. +

    Note: This version of the Android Plugin for Gradle is + not compatible with Gradle 2.4 and higher.

    +
  • +
  • Build Tools 21.1.1 or higher.
  • +
+
+ +
General Notes:
+
+
    +
  • Fixed issue with Gradle build failure when accessing the + extractReleaseAnnotations module. + (Issue 81638).
  • +
  • Fixed issue with Disable passing the + --no-optimize setting to the Dalvik Executable (dex) bytecode. + (Issue 82662).
  • +
  • Fixed manifest merger issues when importing libraries with a + targetSdkVersion less than 16.
  • +
  • Fixed density ordering issue when using Android Studio with JDK 8.
  • +
+
+
+
+ + + + +
+

+ Android Plugin for Gradle, Revision 1.0.0 (December 2014) +

+ +
+ +
+
Dependencies:
+ +
+
    +
  • Gradle 2.2.1 up to 2.3.x. +

    Note: This version of the Android Plugin for Gradle is + not compatible with Gradle 2.4 and higher.

    +
  • Build Tools 21.1.1 or higher.