buildscript {

    ext.versions = [
            'compileSdk'       : 29,
            'minSdk'           : 21,
            'targetSdk'        : 29,
            'androidGradle'    : '4.0.1',
            'androidx'         : '1.1.0',
            'material'         : '1.1.0',
            'androidxAppcompat': '1.1.0',
            'lifecycle'        : '2.2.0',
            'persistence'      : '2.2.5',
            'paging'           : '2.1.2',
            'retrofit'         : '2.7.0',
            'okhttp'           : '4.3.1',
            'glide'            : '4.11.0',
            'rxAndroid'        : '2.1.1',
            'rxJava'           : '2.2.9',
            'kotlin'           : '1.3.72'
    ]

    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath "com.android.tools.build:gradle:${versions.androidGradle}"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

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