Local Gradle tweaks draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Thu, 28 Jul 2016 20:04:34 +0200
changeset 676874 faef03461d7f3f04e8df698543c4c84e6523ad35
parent 676873 acc1bec7d9d66e3c2ad33637265f06af85b77808
child 676875 c513b59f177c9cbbbaa6a51264919643ef16eeb3
push id83657
push usermozilla@buttercookie.de
push dateMon, 09 Oct 2017 20:10:45 +0000
milestone58.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
@@ -251,17 +251,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).
     debugCompile project(path: ':geckoview', configuration: "debug")