summaryrefslogtreecommitdiff
path: root/build-system/integration-test/test-projects/applicationIdInLibsTest/app/build.gradle
blob: 670c25c461519bc6c46cb3f64e0a2cdedec6af72 (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
apply plugin: 'com.android.application'

android {
    namespace "com.example.manifest_merger_example"
    compileSdkVersion libs.versions.latestCompileSdk.get().toInteger()
    buildToolsVersion = libs.versions.buildToolsVersion.get()

    defaultConfig {
        applicationId "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"
            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'])
}