浏览代码

Use LeakCanary in debug mode

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 3 年之前
父节点
当前提交
4d99f62759
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      build.gradle

+ 2 - 0
build.gradle

@@ -338,6 +338,8 @@ dependencies {
         }
     }
 
+    debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
+
     // dependencies for local unit tests
     testImplementation 'junit:junit:4.13.2'
     testImplementation "org.mockito:mockito-core:$mockitoVersion"