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