1apply plugin: 'com.android.application' 2 3android { 4 compileSdkVersion dataBindingConfig.compileSdkVersion 5 buildToolsVersion dataBindingConfig.buildToolsVersion 6 dataBinding { 7 enabled = true 8 } 9 defaultConfig { 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_6 27 targetCompatibility JavaVersion.VERSION_1_6 28 } 29} 30 31dependencies { 32 compile fileTree(dir: 'libs', include: ['*.jar']) 33 compile "com.android.support:support-v4:+" 34 !@{DEPENDENCIES} 35} 36