Skip to content

Commit ff353f3

Browse files
committed
Test: Remove unnecessary ui automator dependency
This also fixes the below 'AndroidX' related warning with 'android.enableJetifier=true'. This behavior will not be allowed in Android Gradle plugin 8.0. ------------------------------------------------------------------------ WARNING:Your project has set `android.useAndroidX=true`, but configuration `:WordPressUtils:debugAndroidTestRuntimeClasspath` still contains legacy support libraries, which may cause runtime issues. This behavior will not be allowed in Android Gradle plugin 8.0. Please use only AndroidX dependencies or set `android.enableJetifier=true` in the `gradle.properties` file to migrate your project to AndroidX (see https://developer.android.com/jetpack/ androidx/migrate for more info). The following legacy support libraries are detected: :WordPressUtils:debugAndroidTestRuntimeClasspath -> com.android.support.test.uiautomator:uiautomator-v18:2.1.2 ------------------------------------------------------------------------
1 parent fe76604 commit ff353f3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

WordPressUtils/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies {
3030
androidTestImplementation "androidx.test:runner:$androidxTestCoreVersion"
3131
androidTestImplementation "androidx.test:rules:$androidxTestCoreVersion"
3232
androidTestImplementation "androidx.test.ext:junit:$jUnitExtVersion"
33-
androidTestImplementation "com.android.support.test.uiautomator:uiautomator-v18:$uiAutomatorVersion"
3433
}
3534

3635
android {

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,4 @@ ext {
5454

5555
// android test
5656
jUnitExtVersion = '1.1.3'
57-
uiAutomatorVersion = '2.1.2'
5857
}

0 commit comments

Comments
 (0)