Selaa lähdekoodia

Merge pull request #10129 from nextcloud/chore/leakcanary-disabled-default

build: Disable LeakCanary unless manually activated with a property
Álvaro Brey 3 vuotta sitten
vanhempi
commit
3148d94262
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -303,7 +303,7 @@ dependencies {
         }
     }
 
-    if (!ciBuild) {
+    if (project.hasProperty("leakCanary")) {
         debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1'
     }