Update AndroidX Test versions to latest
Split the version of the sublibraries because their latest version number is different. See https://developer.android.com/jetpack/androidx/releases/test#1.2.0. PiperOrigin-RevId: 278585090
This commit is contained in:
parent
9842ea7f22
commit
c8170e18d0
@ -30,7 +30,10 @@ project.ext {
|
||||
androidxAppCompatVersion = '1.1.0'
|
||||
androidxCollectionVersion = '1.1.0'
|
||||
androidxMediaVersion = '1.0.1'
|
||||
androidxTestVersion = '1.1.0'
|
||||
androidxTestCoreVersion = '1.2.0'
|
||||
androidxTestJUnitVersion = '1.1.1'
|
||||
androidxTestRunnerVersion = '1.2.0'
|
||||
androidxTestRulesVersion = '1.2.0'
|
||||
truthVersion = '0.44'
|
||||
modulePrefix = ':'
|
||||
if (gradle.ext.has('exoplayerModulePrefix')) {
|
||||
|
@ -42,7 +42,9 @@ dependencies {
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
|
||||
androidTestImplementation project(modulePrefix + 'testutils')
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
||||
testImplementation 'androidx.test:core:' + androidxTestCoreVersion
|
||||
testImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
testImplementation project(modulePrefix + 'testutils')
|
||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||
}
|
||||
|
@ -42,8 +42,8 @@ dependencies {
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
testImplementation project(modulePrefix + 'testutils')
|
||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
}
|
||||
|
||||
ext {
|
||||
|
@ -42,8 +42,8 @@ dependencies {
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
testImplementation project(modulePrefix + 'testutils')
|
||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
androidTestImplementation 'com.google.truth:truth:' + truthVersion
|
||||
}
|
||||
|
||||
|
@ -62,14 +62,14 @@ dependencies {
|
||||
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
|
||||
compileOnly 'org.checkerframework:checker-compat-qual:' + checkerframeworkVersion
|
||||
compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
||||
androidTestImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
androidTestImplementation 'com.google.truth:truth:' + truthVersion
|
||||
androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion
|
||||
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
|
||||
androidTestImplementation 'org.mockito:mockito-core:' + mockitoVersion
|
||||
testImplementation 'androidx.test:core:' + androidxTestVersion
|
||||
testImplementation 'androidx.test.ext:junit:' + androidxTestVersion
|
||||
testImplementation 'androidx.test:core:' + androidxTestCoreVersion
|
||||
testImplementation 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
testImplementation 'com.google.truth:truth:' + truthVersion
|
||||
testImplementation 'org.mockito:mockito-core:' + mockitoVersion
|
||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||
|
@ -32,8 +32,8 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
androidTestImplementation 'androidx.test:rules:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestVersion
|
||||
androidTestImplementation 'androidx.test:rules:' + androidxTestRulesVersion
|
||||
androidTestImplementation 'androidx.test:runner:' + androidxTestRunnerVersion
|
||||
androidTestImplementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
androidTestImplementation project(modulePrefix + 'library-core')
|
||||
androidTestImplementation project(modulePrefix + 'library-dash')
|
||||
|
@ -39,8 +39,8 @@ android {
|
||||
|
||||
dependencies {
|
||||
api 'org.mockito:mockito-core:' + mockitoVersion
|
||||
api 'androidx.test:core:' + androidxTestVersion
|
||||
api 'androidx.test.ext:junit:' + androidxTestVersion
|
||||
api 'androidx.test:core:' + androidxTestCoreVersion
|
||||
api 'androidx.test.ext:junit:' + androidxTestJUnitVersion
|
||||
api 'com.google.truth:truth:' + truthVersion
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
implementation project(modulePrefix + 'library-core')
|
||||
|
Loading…
x
Reference in New Issue
Block a user