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