Fix auto-service warning in instrumentation tests
This commit is contained in:
parent
fa617fbaae
commit
5f771ff4ec
1 changed files with 4 additions and 1 deletions
|
@ -134,7 +134,10 @@ dependencies {
|
||||||
def mockk_version = "1.10.0"
|
def mockk_version = "1.10.0"
|
||||||
testImplementation aospDeps // anything less fails tests run with gradlew
|
testImplementation aospDeps // anything less fails tests run with gradlew
|
||||||
testImplementation 'androidx.test.ext:junit:1.1.1'
|
testImplementation 'androidx.test.ext:junit:1.1.1'
|
||||||
testImplementation 'org.robolectric:robolectric:4.3.1'
|
testImplementation('org.robolectric:robolectric:4.3.1') {
|
||||||
|
// https://github.com/robolectric/robolectric/issues/5245
|
||||||
|
exclude group: "com.google.auto.service", module: "auto-service"
|
||||||
|
}
|
||||||
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
|
||||||
testImplementation "io.mockk:mockk:$mockk_version"
|
testImplementation "io.mockk:mockk:$mockk_version"
|
||||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
|
||||||
|
|
Loading…
Reference in a new issue