aboutsummaryrefslogtreecommitdiff
path: root/examples/ex4_uiautomator/build.gradle
diff options
context:
space:
mode:
authorAlexander Dorokhine <adorokhine@google.com>2017-05-24 16:23:47 -0700
committerGitHub <noreply@github.com>2017-05-24 16:23:47 -0700
commit0f203a5006a21abd05a2d7ca5b29d18aac125cb9 (patch)
tree5d0e5f2409b7da0d6bd48c4beb832957b3b9e43d /examples/ex4_uiautomator/build.gradle
parent35315da4d6401eb1bb3428405daf36198df5d2c3 (diff)
downloadmobly-snippet-lib-0f203a5006a21abd05a2d7ca5b29d18aac125cb9.tar.gz
Create an example for how to use UIAutomator. (#54)
UIAutomator requires client-side changes too, which are tracked in https://github.com/google/mobly/issues/166. Fixes #33.
Diffstat (limited to 'examples/ex4_uiautomator/build.gradle')
-rw-r--r--examples/ex4_uiautomator/build.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle
new file mode 100644
index 0000000..2a52cd3
--- /dev/null
+++ b/examples/ex4_uiautomator/build.gradle
@@ -0,0 +1,25 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 24
+ buildToolsVersion "24.0.3"
+
+ defaultConfig {
+ applicationId "com.google.android.mobly.snippet.example4"
+ minSdkVersion 18
+ targetSdkVersion 24
+ versionCode 1
+ versionName "0.0.1"
+ }
+}
+
+dependencies {
+ // The 'compile project' dep is to compile against the snippet lib source in
+ // 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.1.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'
+}