Skip to content

Commit

Permalink
Update robolectric [4.5.1 -> 4.6.1]
Browse files Browse the repository at this point in the history
  • Loading branch information
UweTrottmann committed Jul 9, 2021
1 parent 3330dd4 commit 1ee4619
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/build.gradle.kts
Expand Up @@ -293,7 +293,11 @@ dependencies {
exclude(group = "com.google.errorprone") // from guava, not needed at runtime
}
// https://github.com/robolectric/robolectric/releases/
testImplementation("org.robolectric:robolectric:4.5.1")
// Note: 4.6.1 pulls in bcprov-jdk15on code targeting newer Java breaking Jetifier
// Not fixed until Android Plugin 7 release. Ignore listed in gradle.properties.
// https://github.com/robolectric/robolectric/issues/6521
// https://issuetracker.google.com/issues/159151549
testImplementation("org.robolectric:robolectric:4.6.1")
testImplementation("androidx.test:core:$androidXtestCoreVersion")

}
Expand Down
6 changes: 6 additions & 0 deletions gradle.properties
Expand Up @@ -15,3 +15,9 @@ org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx1536M"

android.enableJetifier=true
android.useAndroidX=true

# Note: Robolectric 4.6.1 pulls in bcprov-jdk15on code targeting newer Java breaking Jetifier
# Not fixed until Android Plugin 7 release.
# https://github.com/robolectric/robolectric/issues/6521
# https://issuetracker.google.com/issues/159151549
android.jetifier.ignorelist=bcprov-jdk15on

0 comments on commit 1ee4619

Please sign in to comment.