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