Update Robolectric to 4.9.2 (#3422)

This commit is contained in:
Nik Clayton 2023-03-13 10:18:41 +01:00 committed by GitHub
parent 70dced795c
commit 81116f2df3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -116,6 +116,13 @@ kapt {
}
}
configurations {
// JNI-only libraries don't play nicely with Robolectric
// see https://github.com/tuskyapp/Tusky/pull/3367
testImplementation.exclude group: "org.conscrypt", module: "conscrypt-android"
testRuntime.exclude group: "org.conscrypt", module: "conscrypt-android"
}
// library versions are in PROJECT_ROOT/gradle/libs.versions.toml
dependencies {
implementation libs.kotlinx.coroutines.android

View file

@ -42,7 +42,7 @@ mockito-kotlin = "4.1.0"
networkresult-calladapter = "1.0.0"
okhttp = "4.10.0"
retrofit = "2.9.0"
robolectric = "4.8.1"
robolectric = "4.9.2"
rxandroid3 = "3.0.2"
rxjava3 = "3.1.6"
rxkotlin3 = "3.0.1"