Browse Source

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

build: Disable LeakCanary unless manually activated with a property
Álvaro Brey 3 years ago
parent
commit
3148d94262
1 changed files with 1 additions and 1 deletions
  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'
     }