Skip to content

Instantly share code, notes, and snippets.

@adityawid
Created May 27, 2021 09:12
Show Gist options
  • Save adityawid/4c30f7cc51e9ae87ab33de51dd0e68e0 to your computer and use it in GitHub Desktop.
Save adityawid/4c30f7cc51e9ae87ab33de51dd0e68e0 to your computer and use it in GitHub Desktop.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: 'config.gradle'
buildscript {
ext.kotlin_version = "1.5.0"
ext.pagingVersion = "3.0.0"
ext.retrofit_version = "2.9.0"
ext.Interceptor_version = "4.8.0"
ext.hilt_version = '2.28-alpha'
ext.hilt_jetpack_version = '1.0.0-alpha02'
ext.coroutines_version = "1.4.2"
ext.dagger_version = "2.28.1"
ext.Glide_version = "4.12.0"
ext.idleResourceVersion = "3.2.0"
ext.lifecycle_version = "2.3.1"
ext.room_version = "2.3.0"
ext.activity_ktx_version = "1.2.2"
ext.fragment_ktx_version = '1.3.3'
ext.nav_version = '2.3.5'
ext.lottie_version = '3.7.0'
ext.multidex_version = '2.0.1'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.3"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment