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:3.0.0' 8 } 9 } 10 11 allprojects { 12 repositories { 13 jcenter() 14 maven { 15 url 'https://maven.google.com' 16 } 17 } 18 } 19 20 // BEGIN_EXCLUDE 21 import com.example.android.samples.build.SampleGenPlugin 22 apply plugin: SampleGenPlugin 23 24 samplegen { 25 pathToBuild "../../../../build" 26 pathToSamplesCommon "../../common" 27 } 28 apply from: "../../../../build/build.gradle" 29 // END_EXCLUDE 30