1buildscript { 2 repositories { 3 mavenCentral() 4 } 5 dependencies { 6 classpath 'com.android.tools.build:gradle:0.10.+' 7 } 8} 9 10repositories { 11 mavenCentral() 12} 13 14apply plugin: 'android' 15 16android { 17 compileSdkVersion 19 18 buildToolsVersion "20" 19 20 defaultConfig { 21 minSdkVersion 10 22 targetSdkVersion 19 23 } 24 25 sourceSets { 26 main { 27 manifest.srcFile 'AndroidManifest.xml' 28 java.srcDirs = ['src'] 29 res.srcDirs = ['res'] 30 } 31 } 32} 33 34dependencies { 35 compile 'com.android.support:appcompat-v7:19.0.1' 36} 37