• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
3buildscript {
4    repositories {
5        google()
6        jcenter()
7    }
8    dependencies {
9        classpath 'com.android.tools.build:gradle:3.3.0'
10
11        // NOTE: Do not place your application dependencies here; they belong
12        // in the individual module build.gradle files
13    }
14}
15
16allprojects {
17    repositories {
18        google()
19        jcenter()
20    }
21}
22
23task clean(type: Delete) {
24    delete rootProject.buildDir
25}
26
27// BEGIN_EXCLUDE
28import com.example.android.samples.build.SampleGenPlugin
29apply plugin: SampleGenPlugin
30
31samplegen {
32  pathToBuild "../../../../../build"
33  pathToSamplesCommon "../../../common"
34}
35apply from: "../../../../../build/build.gradle"
36// END_EXCLUDE
37