Skip to content

Commit d2a708d

Browse files
committed
[chore] build.gradle - hilt 추가
1 parent c30191b commit d2a708d

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

app/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
plugins {
22
id 'com.android.application'
33
id 'org.jetbrains.kotlin.android'
4+
id 'kotlin-kapt'
5+
id 'com.google.dagger.hilt.android'
46
}
57

68
android {
@@ -68,6 +70,11 @@ dependencies {
6870
// compose navigation
6971
implementation "androidx.navigation:navigation-compose:2.6.0"
7072

73+
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
74+
implementation "com.google.dagger:hilt-android:2.44"
75+
kapt "com.google.dagger:hilt-compiler:2.44"
76+
77+
7178
implementation(project(":core:common"))
7279
implementation(project(":core:ui"))
7380
implementation(project(":core:designsystem"))

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
buildscript {
3+
4+
dependencies {
5+
classpath "org.jetbrains.kotlin:kotlin-serialization:1.4.10"
6+
}
7+
}
8+
29
plugins {
310
id 'com.android.application' version '8.0.2' apply false
411
id 'com.android.library' version '8.0.2' apply false
512
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
13+
id 'com.google.dagger.hilt.android' version "2.44" apply false
614
}

core/data/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
plugins {
22
id 'com.android.library'
33
id 'org.jetbrains.kotlin.android'
4+
id 'kotlin-kapt'
5+
id 'com.google.dagger.hilt.android'
6+
id 'kotlinx-serialization'
47
}
58

69
Properties properties = new Properties()
@@ -54,4 +57,10 @@ dependencies {
5457
// network logging
5558
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
5659
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
60+
61+
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
62+
implementation "com.google.dagger:hilt-android:2.44"
63+
kapt "com.google.dagger:hilt-compiler:2.44"
64+
65+
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
5766
}

0 commit comments

Comments
 (0)