apply plugin: 'com.android.application'

android {
    compileSdkVersion 31
    flavorDimensions "examples"

    defaultConfig {
        applicationId "com.google.android.mobly.snippet.example2"
        minSdkVersion 26
        targetSdkVersion 31
        versionCode 1
        versionName "0.0.1"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    productFlavors {
        original {
            dimension "examples"
        }
        snippet {
            testApplicationId "com.google.android.mobly.snippet.example2.snippet"
            dimension "examples"
        }
    }

    lintOptions {
        abortOnError true
        checkAllWarnings true
        warningsAsErrors true
        disable 'HardcodedText', 'UnusedIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi'
    }
}

dependencies {
    implementation 'androidx.appcompat:appcompat:1.4.0-beta01'
    implementation 'androidx.test:runner:1.4.0'

    // The androidTest package is not for snippet support; it shows an example
    // of an instrumentation test coexisting with a snippet in the same
    // codebase.
    androidTestImplementation 'androidx.annotation:annotation:1.2.0'
    androidTestImplementation 'androidx.test:runner:1.4.0'
    androidTestImplementation('androidx.test.espresso:espresso-core:3.4.0', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })

    // The 'snippetCompile project' dep is to compile against the snippet lib
    // source in this repo. For your own snippets, you'll want to use the
    // regular 'snippetCompile' dep instead:
    //snippetCompile 'com.google.android.mobly:mobly-snippet-lib:1.4.0'
    snippetImplementation project(':mobly-snippet-lib')

    snippetImplementation 'androidx.annotation:annotation:1.2.0'
    snippetImplementation 'androidx.test:rules:1.4.0'
    snippetImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
