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