Local Gradle tweaks draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Thu, 28 Jul 2016 20:04:34 +0200
changeset 559296 907f1341f18d4110fa34386c27d90bdbcecf2e2d
parent 559154 2a3ecdb7d1ea814708021fee6735b3aedcf03e48
child 559297 ef5109eaeea5954a9adf20d1d5eb37ce9717465b
push id53051
push usermozilla@buttercookie.de
push dateSun, 09 Apr 2017 17:35:56 +0000
milestone55.0a1
Local Gradle tweaks MozReview-Commit-ID: H5pdKja8p2a
mobile/android/app/build.gradle
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -234,17 +234,18 @@ dependencies {
     }
 
     // Include LeakCanary in most gradle based builds. LeakCanary adds about 5k methods, so we disable
     // it for the (non-proguarded, non-multidex) localOld builds to allow space for other libraries.
     // Gradle based tests include the no-op version.  Mach based builds only include the no-op version
     // of this library.
     // It doesn't seem like there is a non-trivial way to be conditional on 'localOld', so instead we explicitly
     // define a version of leakcanary for every flavor:
-    localCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1'
+    //localCompile 'com.squareup.leakcanary:leakcanary-android:1.4-beta1'
+    localCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     localOldCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     automationCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
 
     compile project(':geckoview')
     compile project(':thirdparty')
 
     testCompile 'junit:junit:4.12'