| // Top-level build file where you can add configuration options common to all sub-projects/modules. |
| buildscript { |
| val kotlinVersion = "1.8.10" |
| |
| repositories { |
| google() |
| mavenCentral() |
| } |
| |
| dependencies { |
| classpath("com.android.tools.build:gradle:7.3.1") |
| classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") |
| classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion") |
| classpath("com.google.dagger:hilt-android-gradle-plugin:2.44.2") |
| classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3") |
| } |
| } |
| |
| allprojects { |
| buildDir = File("${rootProject.buildDir}/${project.name}") |
| } |
| |
| tasks.register("clean", Delete::class) { |
| delete(rootProject.buildDir) |
| } |