Move away from AndroidX bundled Truth to be closer to head revision.
The AndroidX bundled version (0.42) lags behind the most up-to-date public release (0.44) making it more difficult to stay close to the actual head revision which is used internally. PiperOrigin-RevId: 244848568
This commit is contained in:
parent
3acd8a6048
commit
4507c6870d
@ -25,6 +25,7 @@ project.ext {
|
|||||||
autoServiceVersion = '1.0-rc4'
|
autoServiceVersion = '1.0-rc4'
|
||||||
checkerframeworkVersion = '2.5.0'
|
checkerframeworkVersion = '2.5.0'
|
||||||
androidXTestVersion = '1.1.0'
|
androidXTestVersion = '1.1.0'
|
||||||
|
truthVersion = '0.44'
|
||||||
modulePrefix = ':'
|
modulePrefix = ':'
|
||||||
if (gradle.ext.has('exoplayerModulePrefix')) {
|
if (gradle.ext.has('exoplayerModulePrefix')) {
|
||||||
modulePrefix += gradle.ext.exoplayerModulePrefix
|
modulePrefix += gradle.ext.exoplayerModulePrefix
|
||||||
|
@ -43,7 +43,7 @@ dependencies {
|
|||||||
testImplementation project(modulePrefix + 'testutils-robolectric')
|
testImplementation project(modulePrefix + 'testutils-robolectric')
|
||||||
androidTestImplementation 'androidx.test:runner:' + androidXTestVersion
|
androidTestImplementation 'androidx.test:runner:' + androidXTestVersion
|
||||||
androidTestImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
androidTestImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
||||||
androidTestImplementation 'androidx.test.ext:truth:' + androidXTestVersion
|
androidTestImplementation 'com.google.truth:truth:' + truthVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
|
@ -63,7 +63,7 @@ dependencies {
|
|||||||
compileOnly 'org.checkerframework:checker-compat-qual:' + checkerframeworkVersion
|
compileOnly 'org.checkerframework:checker-compat-qual:' + checkerframeworkVersion
|
||||||
androidTestImplementation 'androidx.test:runner:' + androidXTestVersion
|
androidTestImplementation 'androidx.test:runner:' + androidXTestVersion
|
||||||
androidTestImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
androidTestImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
||||||
androidTestImplementation 'androidx.test.ext:truth:' + androidXTestVersion
|
androidTestImplementation 'com.google.truth:truth:' + truthVersion
|
||||||
androidTestImplementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
androidTestImplementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
||||||
androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion
|
androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion
|
||||||
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
|
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
|
||||||
@ -71,7 +71,7 @@ dependencies {
|
|||||||
androidTestAnnotationProcessor 'com.google.auto.value:auto-value:' + autoValueVersion
|
androidTestAnnotationProcessor 'com.google.auto.value:auto-value:' + autoValueVersion
|
||||||
testImplementation 'androidx.test:core:' + androidXTestVersion
|
testImplementation 'androidx.test:core:' + androidXTestVersion
|
||||||
testImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
testImplementation 'androidx.test.ext:junit:' + androidXTestVersion
|
||||||
testImplementation 'androidx.test.ext:truth:' + androidXTestVersion
|
testImplementation 'com.google.truth:truth:' + truthVersion
|
||||||
testImplementation 'org.mockito:mockito-core:' + mockitoVersion
|
testImplementation 'org.mockito:mockito-core:' + mockitoVersion
|
||||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||||
testImplementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
testImplementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
||||||
|
@ -40,7 +40,7 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
api 'org.mockito:mockito-core:' + mockitoVersion
|
api 'org.mockito:mockito-core:' + mockitoVersion
|
||||||
api 'androidx.test.ext:junit:' + androidXTestVersion
|
api 'androidx.test.ext:junit:' + androidXTestVersion
|
||||||
api 'androidx.test.ext:truth:' + androidXTestVersion
|
api 'com.google.truth:truth:' + truthVersion
|
||||||
implementation 'androidx.annotation:annotation:1.0.2'
|
implementation 'androidx.annotation:annotation:1.0.2'
|
||||||
implementation project(modulePrefix + 'library-core')
|
implementation project(modulePrefix + 'library-core')
|
||||||
implementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
implementation 'com.google.auto.value:auto-value-annotations:' + autoValueVersion
|
||||||
|
Loading…
x
Reference in New Issue
Block a user