aboutsummaryrefslogtreecommitdiff
path: root/examples/ex4_uiautomator/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ex4_uiautomator/build.gradle')
-rw-r--r--examples/ex4_uiautomator/build.gradle19
1 files changed, 10 insertions, 9 deletions
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle
index 8298d9b..1d89fdf 100644
--- a/examples/ex4_uiautomator/build.gradle
+++ b/examples/ex4_uiautomator/build.gradle
@@ -1,20 +1,20 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion '25.0.0'
+ compileSdkVersion 26
defaultConfig {
applicationId "com.google.android.mobly.snippet.example4"
minSdkVersion 18
- targetSdkVersion 24
+ targetSdkVersion 22
versionCode 1
- versionName "0.0.1"
+ versionName "0.0.2"
}
lintOptions {
- abortOnError true
+ abortOnError false
checkAllWarnings true
warningsAsErrors true
+ disable 'HardwareIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi'
}
}
@@ -23,8 +23,9 @@ dependencies {
// this repo. For your own snippets, you'll want to use the regular
// 'compile' dep instead:
//compile 'com.google.android.mobly:mobly-snippet-lib:1.2.0'
- compile project(':mobly-snippet-lib')
-
- compile 'com.android.support:appcompat-v7:24.2.1'
- compile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
+ implementation project(':mobly-snippet-lib')
+ implementation 'junit:junit:4.12'
+ implementation 'com.android.support.test:runner:1.0.1'
+ implementation 'com.android.support:appcompat-v7:26.1.0'
+ implementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
}