• 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}
12
13allprojects {
14    repositories {
15        google()
16        jcenter()
17    }
18}
19
20task clean(type: Delete) {
21    delete rootProject.buildDir
22}
23
24// BEGIN_EXCLUDE
25import com.example.android.samples.build.SampleGenPlugin
26apply plugin: SampleGenPlugin
27
28samplegen {
29  pathToBuild "../../../../build"
30  pathToSamplesCommon "../../common"
31}
32apply from: "../../../../build/build.gradle"
33// END_EXCLUDE
34