aboutsummaryrefslogtreecommitdiff
path: root/examples/ex4_uiautomator/build.gradle
blob: 24188d9b53a1ead827faf50bb8f2159211f77c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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.4.0'
    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'
}