1 // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3 buildscript { 4 repositories { 5 jcenter() 6 } 7 dependencies { 8 classpath 'com.android.tools.build:gradle:2.2.1' 9 10 // NOTE: Do not place your application dependencies here; they belong 11 // in the individual module build.gradle files 12 } 13 } 14 15 allprojects { 16 repositories { 17 jcenter() 18 } 19 } 20 21 task clean(type: Delete) { 22 delete rootProject.buildDir 23 } 24 25 // BEGIN_EXCLUDE 26 import com.example.android.samples.build.SampleGenPlugin 27 apply plugin: SampleGenPlugin 28 29 samplegen { 30 pathToBuild "../../../../../build" 31 pathToSamplesCommon "../../../common" 32 } 33 apply from: "../../../../../build/build.gradle" 34 // END_EXCLUDE 35