diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 49a7562551..6d62ea3e01 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -26,6 +26,7 @@ ([#6320](https://github.com/google/ExoPlayer/issues/6320)). * Add `play` and `pause` methods to `Player`. * Upgrade Truth dependency from 0.44 to 1.0. +* Upgrade to JUnit 4.13-rc-2. ### 2.11.0 (not yet released) ### diff --git a/constants.gradle b/constants.gradle index c955a158da..35780e7ee2 100644 --- a/constants.gradle +++ b/constants.gradle @@ -20,6 +20,7 @@ project.ext { targetSdkVersion = 28 // TODO: Bump once b/143232359 is resolved compileSdkVersion = 29 dexmakerVersion = '2.21.0' + junitVersion = '4.13-rc-2' guavaVersion = '23.5-android' mockitoVersion = '2.25.0' robolectricVersion = '4.3' diff --git a/testutils/build.gradle b/testutils/build.gradle index 204e089bd0..828cc5aafb 100644 --- a/testutils/build.gradle +++ b/testutils/build.gradle @@ -41,6 +41,7 @@ dependencies { api 'org.mockito:mockito-core:' + mockitoVersion api 'androidx.test:core:' + androidxTestCoreVersion api 'androidx.test.ext:junit:' + androidxTestJUnitVersion + api 'junit:junit:' + junitVersion api 'com.google.truth:truth:' + truthVersion implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion implementation project(modulePrefix + 'library-core')