Add Leak Canary to debug build
And increase minSdk for the debug build to 14 for Leak Canary.
This commit is contained in:
@@ -38,6 +38,8 @@ android {
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
// necessary for leak canary
|
||||
defaultConfig.minSdkVersion 14
|
||||
applicationIdSuffix '.debug'
|
||||
}
|
||||
|
||||
@@ -75,4 +77,6 @@ dependencies {
|
||||
implementation 'com.google.zxing:core:3.3.3'
|
||||
implementation 'com.github.markusfisch:CameraView:1.9.1'
|
||||
implementation 'com.github.markusfisch:ScalingImageView:1.2.0'
|
||||
|
||||
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.2'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user