buildscript {
    ext {
        gradle_version = '7.0.3'
        kotlin_version = '1.5.31'
        coroutines_version = '1.5.2-native-mt'
        material_version = '1.4.0'
        splash_screen_version = '1.0.0-alpha01'
        constraint_layout_version = '2.1.1'
        lifecycle_version = '2.3.1'
        navigation_version = '2.3.5'
        preference_version = '1.1.1'
        room_version = '2.3.0'
        hilt_version = '2.39.1'
        retrofit_version = '2.9.0'
        osmdroid_version = '6.1.11'
        timber_version = '5.0.1'
        junit_version = '4.13.2'
        mockito_version = '4.0.0'
        leak_canary_version = '2.7'
        jvm_version = '11'
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:$gradle_version"
        classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

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