Local Gradle tweaks draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Thu, 28 Jul 2016 20:04:34 +0200
changeset 663117 def99f1bfafdbe347f2929e6a5b8fcb6ad29d8bc
parent 663116 39c6856eabb2ed9be1e6704bb19e9e2cba6945e9
child 663118 a234ed796566b5463e753c197bf1a0925cc87cc9
push id79330
push usermozilla@buttercookie.de
push dateTue, 12 Sep 2017 17:23:43 +0000
milestone57.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")