summaryrefslogtreecommitdiff
path: root/build-system/integration-test/test-projects/placeholderInLibsTest/app/build.gradle
blob: 0c31b04a707b4933115c47d1279c85a319dddbcc (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
35
36
37
38
39
40
41

apply plugin: 'com.android.application'

android {
    namespace "com.example.manifest_merger_example"
    compileSdkVersion rootProject.latestCompileSdk
    buildToolsVersion = rootProject.buildToolsVersion

    defaultConfig {
        applicationId "com.example.manifest_merger_example"
        manifestPlaceholders = [ localApplicationId:"com.example.manifest_merger_example"]
        minSdkVersion 15
        //noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }

    flavorDimensions 'foo'
    productFlavors {
        flavor {
            applicationId "com.example.manifest_merger_example.flavor"
            manifestPlaceholders = [ localApplicationId:"com.example.manifest_merger_example.flavor"]
            minSdkVersion 15
            //noinspection ExpiringTargetSdkVersion,ExpiredTargetSdkVersion
            targetSdkVersion 21
            versionCode 1
            versionName "1.0"
        }
    }
    buildTypes {
        release {
            minifyEnabled false
        }
    }
}

dependencies {
    api project(':examplelibrary')
    api fileTree(dir: 'libs', include: ['*.jar'])
}