From 9de5684d6e759cd47ce210f042c304211ccfa694 Mon Sep 17 00:00:00 2001 From: tonihei Date: Thu, 6 Jul 2023 09:45:11 +0100 Subject: [PATCH] Change multidex dependency type to androidTestImplementation This is only needed for instrumentation tests and should not be included in regular builds. Issue: androidx/media#499 PiperOrigin-RevId: 545913113 (cherry picked from commit 2250ffe6c8c5fa6b5bc728cd7a9fa075bcbb04d9) --- RELEASENOTES.md | 3 +++ common_library_config.gradle | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a240b58294..24ac39cfe9 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -2,6 +2,9 @@ ### Unreleased changes +* Common Library: + * Remove accidentally added `multidex` dependency from all modules + ([#499](https://github.com/androidx/media/issues/499)). * ExoPlayer: * Fix issue in `PlaybackStatsListener` where spurious `PlaybackStats` are created after the playlist is cleared. diff --git a/common_library_config.gradle b/common_library_config.gradle index b2f7afab0d..7dee4b3d20 100644 --- a/common_library_config.gradle +++ b/common_library_config.gradle @@ -43,6 +43,6 @@ android { } dependencies { - implementation 'androidx.multidex:multidex:' + androidxMultidexVersion + androidTestImplementation 'androidx.multidex:multidex:' + androidxMultidexVersion coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' }