Update dependency versions

Note: Updating androidxTestTruthVersion is required tot
arget API level 31.
PiperOrigin-RevId: 409167744
This commit is contained in:
olly 2021-11-11 17:29:12 +00:00 committed by Ian Baker
parent 52cd543689
commit fea552e709
4 changed files with 20 additions and 21 deletions

View File

@ -25,34 +25,33 @@ project.ext {
// Use the same Guava version as the Android repo: // Use the same Guava version as the Android repo:
// https://cs.android.com/android/platform/superproject/+/master:external/guava/METADATA // https://cs.android.com/android/platform/superproject/+/master:external/guava/METADATA
guavaVersion = '27.1-android' guavaVersion = '27.1-android'
mockitoVersion = '3.4.0' mockitoVersion = '3.12.4'
mockWebServerVersion = '3.12.0'
robolectricVersion = '4.6.1' robolectricVersion = '4.6.1'
// Keep this in sync with Google's internal Checker Framework version. // Keep this in sync with Google's internal Checker Framework version.
checkerframeworkVersion = '3.5.0' checkerframeworkVersion = '3.13.0'
checkerframeworkCompatVersion = '2.5.0' checkerframeworkCompatVersion = '2.5.5'
errorProneVersion = '2.9.0' errorProneVersion = '2.10.0'
jsr305Version = '3.0.2' jsr305Version = '3.0.2'
kotlinAnnotationsVersion = '1.5.20' kotlinAnnotationsVersion = '1.5.31'
androidxAnnotationVersion = '1.2.0' androidxAnnotationVersion = '1.3.0'
androidxAnnotationExperimentalVersion = '1.1.0' androidxAnnotationExperimentalVersion = '1.1.0'
androidxAppCompatVersion = '1.3.0' androidxAppCompatVersion = '1.3.1'
androidxCollectionVersion = '1.1.0' androidxCollectionVersion = '1.1.0'
androidxCoreVersion = '1.6.0' androidxCoreVersion = '1.7.0'
androidxFuturesVersion = '1.1.0' androidxFuturesVersion = '1.1.0'
androidxMediaVersion = '1.4.3' androidxMediaVersion = '1.4.3'
androidxMedia2Version = '1.1.3' androidxMedia2Version = '1.2.0'
androidxMultidexVersion = '2.0.1' androidxMultidexVersion = '2.0.1'
androidxRecyclerViewVersion = '1.2.1' androidxRecyclerViewVersion = '1.2.1'
androidxMaterialVersion = '1.3.0' androidxMaterialVersion = '1.4.0'
androidxTestCoreVersion = '1.3.0' androidxTestCoreVersion = '1.4.0'
androidxTestJUnitVersion = '1.1.2' androidxTestJUnitVersion = '1.1.3'
androidxTestRunnerVersion = '1.3.0' androidxTestRunnerVersion = '1.4.0'
androidxTestRulesVersion = '1.3.0' androidxTestRulesVersion = '1.4.0'
androidxTestServicesStorageVersion = '1.3.0' androidxTestServicesStorageVersion = '1.4.0'
androidxTestTruthVersion = '1.3.0' androidxTestTruthVersion = '1.4.0'
truthVersion = '1.1.3' truthVersion = '1.1.3'
okhttpVersion = '4.9.1' okhttpVersion = '4.9.2'
modulePrefix = ':' modulePrefix = ':'
if (gradle.ext.has('androidxMediaModulePrefix')) { if (gradle.ext.has('androidxMediaModulePrefix')) {
modulePrefix += gradle.ext.androidxMediaModulePrefix modulePrefix += gradle.ext.androidxMediaModulePrefix

View File

@ -60,7 +60,7 @@ dependencies {
implementation 'androidx.core:core-ktx:' + androidxCoreVersion implementation 'androidx.core:core-ktx:' + androidxCoreVersion
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
implementation 'androidx.multidex:multidex:' + androidxMultidexVersion implementation 'androidx.multidex:multidex:' + androidxMultidexVersion
implementation 'com.google.android.material:material:1.3.0' implementation 'com.google.android.material:material:' + androidxMaterialVersion
implementation project(modulePrefix + ':lib-exoplayer') implementation project(modulePrefix + ':lib-exoplayer')
implementation project(modulePrefix + ':lib-exoplayer-dash') implementation project(modulePrefix + ':lib-exoplayer-dash')
implementation project(modulePrefix + ':lib-exoplayer-hls') implementation project(modulePrefix + ':lib-exoplayer-hls')

View File

@ -32,7 +32,7 @@ dependencies {
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
// Instrumentation tests assume that an app-packaged version of cronet is // Instrumentation tests assume that an app-packaged version of cronet is
// available. // available.
androidTestImplementation 'org.chromium.net:cronet-embedded:94.4606.61' androidTestImplementation 'org.chromium.net:cronet-embedded:95.4638.50'
androidTestImplementation project(modulePrefix + 'test-utils') androidTestImplementation project(modulePrefix + 'test-utils')
testImplementation project(modulePrefix + 'test-utils') testImplementation project(modulePrefix + 'test-utils')
testImplementation 'com.squareup.okhttp3:mockwebserver:' + okhttpVersion testImplementation 'com.squareup.okhttp3:mockwebserver:' + okhttpVersion

View File

@ -25,7 +25,7 @@ android {
} }
dependencies { dependencies {
api 'com.google.ads.interactivemedia.v3:interactivemedia:3.24.0' api 'com.google.ads.interactivemedia.v3:interactivemedia:3.25.1'
implementation project(modulePrefix + 'lib-exoplayer') implementation project(modulePrefix + 'lib-exoplayer')
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion