build.gradle 782 Bytes
Newer Older
Donald's avatar
Donald committed
1 2 3
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
4 5
    ext.kotlin_version = '1.2.41'

Donald's avatar
Donald committed
6 7
    repositories {
        jcenter()
Donald's avatar
Donald committed
8
        maven {
Donald's avatar
Donald committed
9
            url "https://maven.google.com"
Donald's avatar
Donald committed
10
        }
11
        google()
Donald's avatar
Donald committed
12 13
    }
    dependencies {
14 15 16

        classpath 'com.android.tools.build:gradle:3.1.3'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Loris's avatar
Loris committed
17

Donald's avatar
Donald committed
18 19 20 21
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}
DNLDsht's avatar
DNLDsht committed
22

Donald's avatar
Donald committed
23
project.ext {
Donald's avatar
Donald committed
24
    supportVersion = "27.1.1"
Donald's avatar
Donald committed
25
    sdkVersion = 27
Donald's avatar
Donald committed
26 27
}

Donald's avatar
Donald committed
28 29 30
allprojects {
    repositories {
        jcenter()
Donald's avatar
Donald committed
31
        google()
Donald's avatar
Donald committed
32 33
    }
}
Donald's avatar
Donald committed
34 35 36

task clean(type: Delete) {
    delete rootProject.buildDir
Yash Thakkar's avatar
Yash Thakkar committed
37
}