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