Explorar el Código

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

build: Disable LeakCanary unless manually activated with a property
Álvaro Brey hace 3 años
padre
commit
3148d94262
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'
     }