-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (41 loc) · 1.35 KB
/
build.gradle
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
// build
compileSdkVersion = 32
targetSdkVersion = 32
minSdkVersion = 21
gradle_version = "7.2.1"
kotlin_version = "1.6.21"
// core
hilt_version = "2.39.1"
coroutines_version = "1.6.1"
viewmodel_hilt_version = "1.0.0-alpha03"
viewmodel_ktx_version = "2.4.2"
lifecycle_version = "2.5.0-rc01"
// navigation
navigation_version = "2.4.2"
// db
room_version = "2.4.2"
//network
gson_version = "2.9.0"
retrofit_versin = "2.9.0"
okhttp_version = "4.9.0"
glide_version = "4.12.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${navigation_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
}