1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-11-01 07:32:13 +00:00

Uiautomator: Upgraded uiautomator base classes to Uiauto2

Uiautomator1 has been deprecated, therefore the uiautomation base classes have
been upgraded to use uiautomator2 and the new gradle build system.
Altered to retrieve `package_name` rather than `package` as per the previous commit.
This commit is contained in:
Marc Bonnici
2017-05-30 17:26:14 +01:00
parent 138c95745e
commit 076772da4d
29 changed files with 431 additions and 208 deletions

18
wlauto/external/uiauto/app/build.gradle vendored Normal file
View File

@@ -0,0 +1,18 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
minSdkVersion 18
targetSdkVersion 25
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support.test:runner:0.5'
compile 'com.android.support.test:rules:0.5'
compile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
}