This repository was archived by the owner on Oct 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ android {
2828 }
2929}
3030
31- // Needed in order to process Robolectric tests when running JaCoCo
3231junitJacoco {
3332 includeNoLocationClasses = true
3433}
@@ -40,9 +39,9 @@ dependencies {
4039
4140 testImplementation ' junit:junit:4.12'
4241 testImplementation ' com.google.truth:truth:0.42'
43- testImplementation ' org.robolectric:robolectric:3.8 '
44- testImplementation ' org.robolectric:shadows-supportv4:3.8 '
45- testImplementation ' org.mockito:mockito-core:2.18.0 '
42+ testImplementation ' org.robolectric:robolectric:4.1 '
43+ testImplementation ' org.robolectric:shadows-supportv4:4.1 '
44+ testImplementation ' org.mockito:mockito-core:2.23.4 '
4645}
4746
4847apply from : ' bintray.gradle'
Original file line number Diff line number Diff line change @@ -19,4 +19,7 @@ org.gradle.jvmargs=-Xmx1536m
1919# org.gradle.parallel=true
2020
2121# Configure on demand
22- org.gradle.configureondemand =true
22+ org.gradle.configureondemand =true
23+
24+ # Required by Robolectric 4.x
25+ android.enableUnitTestBinaryResources =true
You can’t perform that action at this time.
0 commit comments