1 // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3 buildscript { 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 15 allprojects { 16 repositories { 17 google() 18 jcenter() 19 } 20 } 21 22 task clean(type: Delete) { 23 delete rootProject.buildDir 24 } 25 26 27 // BEGIN_EXCLUDE 28 import com.example.android.samples.build.SampleGenPlugin 29 30 apply plugin: SampleGenPlugin 31 samplegen { 32 pathToBuild "../../../../build" 33 pathToSamplesCommon "../../common" 34 } 35 apply from: "../../../../build/build.gradle" 36 // END_EXCLUDE 37