mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-29 22:18:42 +00:00
Currently the uiauto library is built on top of the deprecated android.support libraries. Create an updated uiauto library (uiauto-androidx) using androidx and keep it alongside the old one for compatibility reasons. As we update workload-automation going forward, we should update the workloads to use the androidx version of uiauto. This has been tested with the latest gradle version available at the time (8.8).
19 lines
513 B
Groovy
19 lines
513 B
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
namespace "com.arm.wa.uiauto"
|
|
compileSdkVersion 28
|
|
defaultConfig {
|
|
minSdkVersion 18
|
|
targetSdkVersion 28
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation 'androidx.test:runner:1.6.1'
|
|
implementation 'androidx.test:rules:1.6.1'
|
|
implementation 'androidx.test.uiautomator:uiautomator-v18:2.2.0-alpha1'
|
|
}
|