summaryrefslogtreecommitdiff
path: root/build-system/tests/libProguardConsumerFiles/build.gradle
blob: 3f8c3ac545684561e6517bf002fb7835634b6bf0 (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
33
34
buildscript {
    repositories {
        maven { url '../../../../../out/repo' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:0.12.1'
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 19
    buildToolsVersion '19.1.0'

    defaultConfig {
        versionCode 12
        versionName "2.0"
        minSdkVersion 16
        targetSdkVersion 16
        proguardFile 'config.pro'
        consumerProguardFiles 'A.txt'
    }

    buildTypes {
        debug {
        }

        release {
            runProguard true
            consumerProguardFiles 'B.txt', 'C.txt'
        }
    }
}