소스 검색

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

build: Disable LeakCanary unless manually activated with a property
Álvaro Brey 3 년 전
부모
커밋
3148d94262
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'
     }