// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { ext { kotlinVersion = '1.4.0' navigationVersion = '2.3.0' hiltVersion = '2.28.3-alpha' } repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:7.1.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion" classpath "com.google.dagger:hilt-android-gradle-plugin:$hiltVersion" } } allprojects { repositories { } } task clean(type: Delete) { delete rootProject.buildDir } // Define versions in a single place ext { // Sdk and tools minSdkVersion = 31 targetSdkVersion = 31 compileSdkVersion = 31 // App dependencies appCompatVersion = '1.2.0' constraintLayoutVersion = '1.1.3' espressoVersion = '3.2.0' glideVersion = '4.11.0' hiltAndroidXVersion = '1.0.0-alpha02' junitVersion = '4.13' ktxVersion = '1.3.1' pagingVersion = '3.0.0-alpha05' retrofitVersion = '2.9.0' testExtJunitVersion = '1.1.1' }