diff --git a/gradle.properties b/gradle.properties index aac7c9b..c7fb972 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,3 +15,5 @@ org.gradle.jvmargs=-Xmx1536m # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true + +android.useAndroidX=true \ No newline at end of file diff --git a/lib/build.gradle b/lib/build.gradle index 2052d25..5eccd55 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -39,7 +39,10 @@ dependencies { testImplementation 'junit:junit:4.13' testImplementation 'org.hamcrest:java-hamcrest:2.0.0.0' - 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.mockito:mockito-core:3.2.4' }