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