32 lines
1.1 KiB
Groovy
32 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
// https://developer.android.com/jetpack/androidx/releases/navigation
|
|
ext.nav_version = "2.4.0-beta02"
|
|
|
|
// https://dagger.dev/hilt/gradle-setup
|
|
ext.hilt_version = "2.38.1"
|
|
|
|
// https://kotlinlang.org/docs/gradle.html
|
|
ext.kotlin_version = "1.5.31"
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// https://maven.google.com/web/index.html?q=com.android.tools.build#com.android.tools.build:gradle
|
|
classpath "com.android.tools.build:gradle:7.0.3"
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
|
|
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
|
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
} |