Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1675c9d

Browse files
committed
Deduplicate robolectric dependencies
1 parent 22479ca commit 1675c9d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

shell/platform/android/embedding_bundle/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ configurations {
3333
embedding
3434
// Use any of these configurations for dependencies required for testing the embedding.
3535
embeddingTesting
36-
embeddingTesting_duplicated
3736
}
3837

3938
android {
@@ -50,8 +49,7 @@ android {
5049

5150
// Testing
5251
embeddingTesting "org.robolectric:android-all:8.1.0-robolectric-4611349"
53-
// This is required by the robolectric test.
54-
embeddingTesting_duplicated "org.robolectric:android-all:4.1.2_r1-robolectric-r1"
52+
embeddingTesting "androidx.fragment:fragment-testing:1.1.0"
5553
embeddingTesting "org.mockito:mockito-all:1.10.19"
5654
embeddingTesting ("org.robolectric:robolectric:4.3") {
5755
// org.hamcrest is added by org.mockito:mockito-all
@@ -71,7 +69,6 @@ task updateDependencies() {
7169
copy {
7270
from configurations.embedding
7371
from configurations.embeddingTesting
74-
from configurations.embeddingTesting_duplicated
7572
into destinationDir
7673
}
7774
doLast {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Match the value at shell/platform/android/embedding_bundle/build.gradle.
2+
sdk=28

0 commit comments

Comments
 (0)