davidliu

leak canary for sample apps

@@ -42,6 +42,8 @@ dependencies { @@ -42,6 +42,8 @@ dependencies {
42 api "androidx.lifecycle:lifecycle-common-java8:${versions.androidx_lifecycle}" 42 api "androidx.lifecycle:lifecycle-common-java8:${versions.androidx_lifecycle}"
43 api "com.google.protobuf:protobuf-java:${versions.protobuf}" 43 api "com.google.protobuf:protobuf-java:${versions.protobuf}"
44 api project(":livekit-android-sdk") 44 api project(":livekit-android-sdk")
  45 + // debugImplementation because LeakCanary should only run in debug builds.
  46 + debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.8.1'
45 testImplementation 'junit:junit:4.+' 47 testImplementation 'junit:junit:4.+'
46 androidTestImplementation 'androidx.test.ext:junit:1.1.3' 48 androidTestImplementation 'androidx.test.ext:junit:1.1.3'
47 androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' 49 androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'