From d76bba6247678ab6fdc9fa73863b5ab7a61bfd2a Mon Sep 17 00:00:00 2001 From: FilipeA Date: Tue, 8 Sep 2020 11:25:11 +0100 Subject: [PATCH] updated: lint xml and androidTest dependency --- app/build.gradle | 8 ++++++-- app/lint.xml | 7 ------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8b4dc66..8dfefcc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -118,11 +118,15 @@ dependencies { testImplementation 'junit:junit:4.13' testImplementation 'org.mockito:mockito-inline:3.5.10' testImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0' - androidTestImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0' androidTestImplementation 'androidx.test:runner:1.3.0' androidTestImplementation 'androidx.test:rules:1.3.0' androidTestImplementation 'androidx.test.ext:junit:1.1.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' androidTestImplementation 'androidx.test.espresso:espresso-intents:3.3.0' - androidTestImplementation 'org.mockito:mockito-android:3.4.6' //3.5 has an issue (lint.xml) + androidTestImplementation 'org.mockito:mockito-android:3.5.10' + androidTestImplementation("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0") { + // Workaround for Android API < 26: + // https://github.com/mockito/mockito/pull/2024 + exclude group: "org.mockito", module: "mockito-core" + } } diff --git a/app/lint.xml b/app/lint.xml index 9b901fc..3e59fe7 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -1,13 +1,6 @@ - - - - - - -