Local Gradle tweaks draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Thu, 28 Jul 2016 20:04:34 +0200
changeset 693227 34ce2ef54c078b7dc28708b0a98e9ce9538c6ada
parent 693226 62a8b77b304a75b3db019b209cf0e6aeb4ff6d59
child 693228 f55bc162c61489353bf88936fd99dcb2b9c31c21
child 693231 e4fbba0f64280d6b01bfe8049b2b48290ee70ba3
push id87728
push usermozilla@buttercookie.de
push dateSat, 04 Nov 2017 14:04:08 +0000
Local Gradle tweaks MozReview-Commit-ID: H5pdKja8p2a
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -257,17 +257,17 @@ dependencies {
     // Include LeakCanary in most gradle based builds. LeakCanary adds about 5k methods, so we disable
     // it for the (non-proguarded, non-predex) 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-no-op:1.4-beta1'
     localOldCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     officialCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     officialCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.4-beta1'
     // With a simple "compile", Gradle will always build these libraries in their default configuration
     // (i.e. release), so we need to explicitly forward our own build configuration here (bug 1385695).