diff options
author | frankfeng <frankfeng@google.com> | 2022-01-05 23:53:39 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-01-05 23:53:39 +0000 |
commit | 7151acd88deae8709cb212b20494a4c38ecc8263 (patch) | |
tree | daa905c2cab4f307d9342908fc85ec54ab73bab3 /examples/ex4_uiautomator/build.gradle | |
parent | a18b21585728971688495dbe384c61b0332c8ce1 (diff) | |
parent | a3c4e39314251b98b0ee70da2bb63dbc52137ac7 (diff) | |
download | mobly-snippet-lib-7151acd88deae8709cb212b20494a4c38ecc8263.tar.gz |
Merge remote-tracking branch 'aosp/upstream-master' into merge am: 22b92531fc am: 7902e5747e am: a3c4e39314
Original change: https://android-review.googlesource.com/c/platform/external/mobly-snippet-lib/+/1932020
Change-Id: Id8702566f1ba34c44a867e3f61f4af94b7b4006d
Diffstat (limited to 'examples/ex4_uiautomator/build.gradle')
-rw-r--r-- | examples/ex4_uiautomator/build.gradle | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle new file mode 100644 index 0000000..b071e1b --- /dev/null +++ b/examples/ex4_uiautomator/build.gradle @@ -0,0 +1,32 @@ +apply plugin: 'com.android.application' + +android { + // This has to match what the appcompat dep expects. + compileSdkVersion 31 + + defaultConfig { + applicationId "com.google.android.mobly.snippet.example4" + minSdkVersion 26 + targetSdkVersion 31 + versionCode 1 + versionName "0.0.2" + } + lintOptions { + abortOnError false + checkAllWarnings true + warningsAsErrors true + disable 'HardwareIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi' + } +} + +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.3.1' + implementation project(':mobly-snippet-lib') + implementation 'junit:junit:4.13.2' + implementation 'androidx.test:runner:1.4.0' + implementation 'androidx.appcompat:appcompat:1.4.0-beta01' + implementation 'androidx.test.uiautomator:uiautomator:2.2.0' +} |