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.4.0-alpha6' 9 } 10 } 11 12 allprojects { 13 repositories { 14 jcenter() 15 } 16 } 17 18 task clean(type: Delete) { 19 delete rootProject.buildDir 20 } 21 22 // BEGIN_EXCLUDE 23 import com.example.android.samples.build.SampleGenPlugin 24 apply plugin: SampleGenPlugin 25 26 samplegen { 27 pathToBuild "../../../../build" 28 pathToSamplesCommon "../../common" 29 } 30 apply from: "../../../../build/build.gradle" 31 // END_EXCLUDE 32