-Added LeakCanary to debug build for memory detection on activities and fragments.

-Added LeakCanary no-op lib to release and beta builds.
This commit is contained in:
John Zhen Mo 2018-02-08 12:46:54 -08:00
parent 292f3eb8ac
commit 32d48057f1
4 changed files with 41 additions and 0 deletions

View file

@ -89,4 +89,8 @@ dependencies {
implementation 'frankiesardo:icepick:3.2.0'
annotationProcessor 'frankiesardo:icepick-processor:3.2.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
betaImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
}