build.gradle 470 Bytes
Newer Older
1 2
buildscript {
    repositories {
3
        google()
4 5 6 7
        jcenter()
    }

    dependencies {
8
        classpath 'com.android.tools.build:gradle:3.1.2'
9 10 11 12 13
    }
}

allprojects {
    repositories {
14
        google()
15 16 17 18
        jcenter()
    }
}

19 20 21
rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
22 23
}
subprojects {
24 25 26
    project.evaluationDependsOn(':app')
}

27 28 29
task clean(type: Delete) {
    delete rootProject.buildDir
}