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