forked from lpappalettera/KotlinMVVMArchitecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
30 lines (26 loc) · 835 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
val kotlinVersion: String by extra("1.5.10")
val composeVersion: String by extra("1.0.0-beta09")
val hiltVersion: String by extra("2.37")
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.0-alpha02")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
classpath("com.google.dagger:hilt-android-gradle-plugin:$hiltVersion")
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}