summaryrefslogtreecommitdiff
path: root/build-system/integration-test/test-projects/minifyLib/lib/build.gradle
blob: c304219b06fac404672c263fa11aea26965da26b (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
apply plugin: 'com.android.library'

android {
    namespace "com.android.tests.basic.lib"
    compileSdkVersion rootProject.latestCompileSdk
    buildToolsVersion = rootProject.buildToolsVersion

    defaultConfig {
        versionCode 12
        versionName "2.0"
        minSdkVersion 16
        //noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
        targetSdkVersion 16
        consumerProguardFiles 'config.pro'
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
}

dependencies {
    // guava is intentionally defined to be compileOnly so that application using the library will
    // fail during proguard if it's not using the supplied config.pro.
    compileOnly "com.google.guava:guava:19.0"

    androidTestImplementation "com.android.support.test:runner:${libs.versions.testSupportLibVersion.get()}"
    androidTestImplementation "com.android.support.test:rules:${libs.versions.testSupportLibVersion.get()}"
}