Support compile config for flavors and build types.
[android/platform/tools/build.git] / testapps / flavorlib / app / build.gradle
1 apply plugin: 'android'
2
3 android {
4     target = "android-15"
5
6     productFlavors {
7         flavor1 {
8             packageName = "com.android.tests.flavorlib.app.flavor1"
9         }
10         flavor2 {
11             packageName = "com.android.tests.flavorlib.app.flavor2"
12         }
13     }
14 }
15
16 dependencies {
17     flavor1Compile project(':lib1')
18     flavor2Compile project(':lib2')
19 }