Skip to content

Commit

Permalink
gradle/#23 : hilt-navigation-comose 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwon12 committed Jan 25, 2025
1 parent 55b9b00 commit 8a2de92
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions build-logic/src/main/java/com/yapp/HiltAndroid.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ internal fun Project.configureHiltAndroid() {
val libs = extensions.libs
dependencies {
"implementation"(libs.findLibrary("hilt.android").get())
"implementation"(libs.findLibrary("hilt.navigation.compose").get())
"ksp"(libs.findLibrary("hilt.compiler").get())
"kspTest"(libs.findLibrary("hilt.compiler").get())
}
Expand Down
1 change: 0 additions & 1 deletion core/ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ android {

dependencies {
implementation(project(":core:model"))

implementation(libs.androidx.appcompat)
}
1 change: 1 addition & 0 deletions feature/login/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import com.yapp.app.setNamespace

plugins {
id("yapp.android.feature")
id("yapp.android.hilt")
}

android {
Expand Down
3 changes: 3 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ junitVersion = "1.2.1"
espressoCore = "3.6.1"

hilt = "2.51.1"
hiltNavigationCompose = "1.2.0"
ksp = "2.0.0-1.0.22"
navigationCompose = "2.8.5"

Expand All @@ -26,6 +27,7 @@ okhttp = "4.12.0"

timber = "5.0.1"


[libraries]
android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "agp" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
Expand Down Expand Up @@ -54,6 +56,7 @@ androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-co

hilt-android = { group = "com.google.dagger", name = "hilt-android", version.ref = "hilt" }
hilt-compiler = { group = "com.google.dagger", name = "hilt-android-compiler", version.ref = "hilt" }
hilt-navigation-compose = {group = "androidx.hilt", name = "hilt-navigation-compose", version.ref = "hiltNavigationCompose"}
androidx-navigation-runtime-ktx = { group = "androidx.navigation", name = "navigation-runtime-ktx", version.ref = "navigationCompose" }
hilt-core = { group = "com.google.dagger", name = "hilt-core", version.ref = "hilt" }

Expand Down

0 comments on commit 8a2de92

Please sign in to comment.