1 // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 buildscript { 3 repositories { 4 jcenter() 5 } 6 dependencies { 7 classpath 'com.android.tools.build:gradle:2.2.3' 8 } 9 } 10 11 allprojects { 12 repositories { 13 jcenter() 14 } 15 } 16 17 // BEGIN_EXCLUDE 18 import com.example.android.samples.build.SampleGenPlugin 19 apply plugin: SampleGenPlugin 20 21 samplegen { 22 pathToBuild "../../../../../build" 23 pathToSamplesCommon "../../../common" 24 } 25 apply from: "../../../../../build/build.gradle" 26 // END_EXCLUDE 27