Skip to content
Snippets Groups Projects
Commit 78514813 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Add leak canary dependency if property is set

parent 10456bc8
No related branches found
No related tags found
1 merge request!1772Get rid of a lot of memory leaks
......@@ -217,6 +217,11 @@ dependencies {
androidTestImplementation 'com.jraska:falcon:2.2.0'
androidTestImplementation 'tools.fastlane:screengrab:2.1.0'
if (project.hasProperty('leakCanaryEnabled') && project.getProperty('leakCanaryEnabled')) {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.12'
devImplementation 'com.squareup.leakcanary:leakcanary-android:2.12'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment