@@ -16,6 +16,9 @@ agp = "8.5.2"
16
16
kotlin = " 1.9.20"
17
17
coreKtx = " 1.13.1"
18
18
19
+ # kapt -----------
20
+ kotlin-kapt = " 1.9.20"
21
+
19
22
# android --------
20
23
appcompat = " 1.7.0"
21
24
composeCompiler = " 1.5.5"
@@ -24,6 +27,11 @@ activityCompose = "1.9.2"
24
27
composeBom = " 2024.09.02"
25
28
material = " 1.12.0"
26
29
30
+ # hilt -----------
31
+ hilt = " 2.49"
32
+ androidx-hilt-compiler = " 1.2.0"
33
+ androidx-hilt-navigation-compose = " 1.2.0"
34
+
27
35
# test -----------
28
36
junit = " 4.13.2"
29
37
junitVersion = " 1.2.1"
@@ -32,11 +40,10 @@ espressoCore = "3.6.1"
32
40
33
41
34
42
[libraries ]
43
+ # core -----------
35
44
androidx-core-ktx = { group = " androidx.core" , name = " core-ktx" , version.ref = " coreKtx" }
36
- junit = { group = " junit" , name = " junit" , version.ref = " junit" }
37
- androidx-junit = { group = " androidx.test.ext" , name = " junit" , version.ref = " junitVersion" }
38
- androidx-espresso-core = { group = " androidx.test.espresso" , name = " espresso-core" , version.ref = " espressoCore" }
39
- androidx-appcompat = { group = " androidx.appcompat" , name = " appcompat" , version.ref = " appcompat" }
45
+
46
+ # android --------
40
47
material = { group = " com.google.android.material" , name = " material" , version.ref = " material" }
41
48
androidx-lifecycle-runtime-ktx = { group = " androidx.lifecycle" , name = " lifecycle-runtime-ktx" , version.ref = " lifecycleRuntimeKtx" }
42
49
androidx-activity-compose = { group = " androidx.activity" , name = " activity-compose" , version.ref = " activityCompose" }
@@ -49,10 +56,25 @@ androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-man
49
56
androidx-ui-test-junit4 = { group = " androidx.compose.ui" , name = " ui-test-junit4" }
50
57
androidx-material3 = { group = " androidx.compose.material3" , name = " material3" }
51
58
59
+ # test -----------
60
+ junit = { group = " junit" , name = " junit" , version.ref = " junit" }
61
+ androidx-junit = { group = " androidx.test.ext" , name = " junit" , version.ref = " junitVersion" }
62
+ androidx-espresso-core = { group = " androidx.test.espresso" , name = " espresso-core" , version.ref = " espressoCore" }
63
+ androidx-appcompat = { group = " androidx.appcompat" , name = " appcompat" , version.ref = " appcompat" }
64
+
65
+ # hilt -----------
66
+ hilt = { group = " com.google.dagger" , name = " hilt-android" , version.ref = " hilt" }
67
+ hilt-compiler = { group = " com.google.dagger" , name = " hilt-android-compiler" , version.ref = " hilt" }
68
+ androidx-hilt-compiler = { group = " androidx.hilt" , name = " hilt-compiler" , version.ref = " androidx-hilt-compiler" }
69
+ androidx-hilt-navigation-compose = { group = " androidx.hilt" , name = " hilt-navigation-compose" , version.ref = " androidx-hilt-navigation-compose" }
70
+
52
71
53
72
54
73
[plugins ]
55
74
android-application = { id = " com.android.application" , version.ref = " agp" }
56
75
jetbrains-kotlin-android = { id = " org.jetbrains.kotlin.android" , version.ref = " kotlin" }
57
76
android-library = { id = " com.android.library" , version.ref = " agp" }
77
+ kotlin-kapt = { id = " org.jetbrains.kotlin.kapt" , version.ref = " kotlin-kapt" }
58
78
79
+ # hilt -----------
80
+ hilt = { id = " com.google.dagger.hilt.android" , version.ref = " hilt" }
0 commit comments