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