1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 ext.kotlin_version = '1.3.21' 5 repositories { 6 google() 7 jcenter() 8 } 9 dependencies { 10 classpath 'com.android.tools.build:gradle:3.3.2' 11 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 } 13} 14 15allprojects { 16 repositories { 17 google() 18 jcenter() 19 } 20} 21 22task clean(type: Delete) { 23 delete rootProject.buildDir 24} 25 26 27// BEGIN_EXCLUDE 28import com.example.android.samples.build.SampleGenPlugin 29 30apply plugin: SampleGenPlugin 31samplegen { 32 pathToBuild "../../../../build" 33 pathToSamplesCommon "../../common" 34} 35apply from: "../../../../build/build.gradle" 36// END_EXCLUDE 37