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