Home | History | Annotate | Download | only in app
      1 apply plugin: 'com.android.application'
      2 apply plugin: 'com.android.databinding'
      3 
      4 android {
      5     compileSdkVersion 21
      6     buildToolsVersion "22"
      7 
      8     defaultConfig {
      9         applicationId "com.android.databinding.testapp"
     10         minSdkVersion 7
     11         targetSdkVersion 21
     12         versionCode 1
     13         versionName "1.0"
     14     }
     15     buildTypes {
     16         release {
     17             minifyEnabled false
     18             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
     19         }
     20     }
     21 
     22     packagingOptions {
     23         exclude 'META-INF/services/javax.annotation.processing.Processor'
     24     }
     25     compileOptions {
     26         sourceCompatibility JavaVersion.VERSION_1_7
     27         targetCompatibility JavaVersion.VERSION_1_7
     28     }
     29     productFlavors {
     30         api7 {
     31             minSdkVersion 7
     32         }
     33     }
     34 }
     35 
     36 dependencies {
     37     compile fileTree(dir: 'libs', include: ['*.jar'])
     38     compile "com.android.support:support-v4:+"
     39 }
     40