Standardise leak canary version in constants.gradle

PiperOrigin-RevId: 633505366
This commit is contained in:
ibaker 2024-05-14 02:48:59 -07:00 committed by Copybara-Service
parent cf1f9b04cf
commit b182e469f6
3 changed files with 3 additions and 2 deletions

View File

@ -29,6 +29,7 @@ project.ext {
// Use the same Guava version as the Android repo:
// https://cs.android.com/android/platform/superproject/main/+/main:external/guava/METADATA
guavaVersion = '33.0.0-android'
leakCanaryVersion = '2.10'
mockitoVersion = '3.12.4'
robolectricVersion = '4.11'
// Keep this in sync with Google's internal Checker Framework version.

View File

@ -72,5 +72,5 @@ dependencies {
implementation project(modulePrefix + 'lib-exoplayer')
// For detecting and debugging leaks only. LeakCanary is not needed for demo app to work.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:' + leakCanaryVersion
}

View File

@ -60,7 +60,7 @@ android {
dependencies {
// For detecting and debugging leaks only. LeakCanary is not needed for demo app to work.
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.10'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:' + leakCanaryVersion
implementation 'androidx.core:core-ktx:' + androidxCoreVersion
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion