1 apply plugin: 'com.android.application' 2 3 dependencies { 4 compile project(':support-appcompat-v7') 5 compile project(':support-cardview-v7') 6 compile project(':support-gridlayout-v7') 7 compile project(':support-mediarouter-v7') 8 compile project(':support-palette-v7') 9 compile project(':support-recyclerview-v7') 10 } 11 12 android { 13 compileSdkVersion project.ext.currentSdk 14 15 defaultConfig { 16 minSdkVersion 14 17 vectorDrawables.useSupportLibrary = true 18 } 19 20 sourceSets { 21 main.manifest.srcFile 'AndroidManifest.xml' 22 main.java.srcDirs = ['src'] 23 main.aidl.srcDirs = ['src'] 24 main.res.srcDirs = ['res'] 25 } 26 27 signingConfigs { 28 debug { 29 // Use a local debug keystore to avoid build server issues. 30 storeFile project.rootProject.init.debugKeystore 31 } 32 } 33 34 lintOptions { 35 abortOnError true 36 } 37 38 compileOptions { 39 sourceCompatibility JavaVersion.VERSION_1_7 40 targetCompatibility JavaVersion.VERSION_1_7 41 } 42 } 43 44