Skip to content

Commit 7c53bd6

Browse files
committed
Added all required dependencies
1 parent d579bdb commit 7c53bd6

File tree

7 files changed

+118
-7
lines changed

7 files changed

+118
-7
lines changed

.idea/gradle.xml

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle.kts

+39-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
plugins {
22
alias(libs.plugins.android.application)
33
alias(libs.plugins.jetbrains.kotlin.android)
4+
alias(libs.plugins.kotlinSymbolProcessing)
5+
alias(libs.plugins.daggerHilt)
6+
alias(libs.plugins.compose.compiler)
7+
kotlin("plugin.serialization") version "2.0.0"
48
}
59

610
android {
@@ -51,19 +55,51 @@ android {
5155

5256
dependencies {
5357

58+
// Core UI
5459
implementation(libs.androidx.core.ktx)
5560
implementation(libs.androidx.lifecycle.runtime.ktx)
5661
implementation(libs.androidx.activity.compose)
5762
implementation(platform(libs.androidx.compose.bom))
5863
implementation(libs.androidx.ui)
5964
implementation(libs.androidx.ui.graphics)
60-
implementation(libs.androidx.ui.tooling.preview)
65+
66+
// Compose Navigation
67+
implementation(libs.androidx.navigation.compose)
68+
implementation(libs.androidx.hilt.navigation.compose)
69+
70+
// AAC
71+
implementation(libs.androidx.lifecycle.viewmodel.compose)
72+
73+
// Coroutines
74+
implementation(libs.kotlinx.coroutines.android)
75+
76+
// Dagger-Hilt (Dependency Injection)
77+
implementation(libs.hilt.android)
78+
ksp(libs.hilt.android.compiler)
79+
80+
// Ktor-Client
81+
implementation(libs.ktor.client.core)
82+
implementation(libs.ktor.client.cio)
83+
implementation(libs.ktor.client.content.negotiation)
84+
implementation(libs.ktor.serialization.kotlinx.json)
85+
86+
// KotlinX Serialization
87+
implementation(libs.kotlinx.serialization.json)
88+
89+
// Design System
6190
implementation(libs.androidx.material3)
91+
92+
// Debug Features
93+
implementation(libs.androidx.ui.tooling.preview)
94+
debugImplementation(libs.androidx.ui.tooling)
95+
debugImplementation(libs.androidx.ui.test.manifest)
96+
97+
// Unit Test
6298
testImplementation(libs.junit)
99+
100+
// Instrumental Test
63101
androidTestImplementation(libs.androidx.junit)
64102
androidTestImplementation(libs.androidx.espresso.core)
65103
androidTestImplementation(platform(libs.androidx.compose.bom))
66104
androidTestImplementation(libs.androidx.ui.test.junit4)
67-
debugImplementation(libs.androidx.ui.tooling)
68-
debugImplementation(libs.androidx.ui.test.manifest)
69105
}

build.gradle.kts

+4
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
plugins {
33
alias(libs.plugins.android.application) apply false
44
alias(libs.plugins.jetbrains.kotlin.android) apply false
5+
alias(libs.plugins.kotlinSymbolProcessing)
6+
alias(libs.plugins.daggerHilt) apply false
7+
alias(libs.plugins.compose.compiler) apply false
8+
59
}

gradle/libs.versions.toml

+26-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
11
[versions]
22
agp = "8.5.0"
3-
kotlin = "1.9.0"
3+
hiltNavigationCompose = "1.2.0"
4+
kotlin = "2.0.0"
45
coreKtx = "1.13.1"
56
junit = "4.13.2"
7+
daggerHiltVersion = "2.51.1"
68
junitVersion = "1.2.1"
9+
kotlinxCoroutinesAndroid = "1.8.1"
10+
kotlinxSerializationJson = "1.7.2"
11+
kspVersion = "2.0.0-1.0.21"
712
espressoCore = "3.6.1"
13+
ktorClientCio = "2.3.12"
14+
ktorClientContentNegotiation = "2.3.12"
15+
ktorClientCore = "2.3.12"
16+
ktorSerializationKotlinxJson = "2.3.12"
817
lifecycleRuntimeKtx = "2.8.4"
918
activityCompose = "1.9.1"
10-
composeBom = "2024.04.01"
19+
composeBom = "2024.08.00"
20+
navigationCompose = "2.7.7"
1121

1222
[libraries]
1323
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
24+
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationCompose" }
25+
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycleRuntimeKtx" }
26+
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigationCompose" }
1427
junit = { group = "junit", name = "junit", version.ref = "junit" }
1528
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
29+
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "daggerHiltVersion" }
30+
hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "daggerHiltVersion" }
1631
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
1732
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
1833
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
@@ -24,8 +39,16 @@ androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-toolin
2439
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
2540
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
2641
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
42+
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinxCoroutinesAndroid" }
43+
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
44+
ktor-client-cio = { module = "io.ktor:ktor-client-cio", version.ref = "ktorClientCio" }
45+
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktorClientContentNegotiation" }
46+
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktorClientCore" }
47+
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktorSerializationKotlinxJson" }
2748

2849
[plugins]
2950
android-application = { id = "com.android.application", version.ref = "agp" }
3051
jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
31-
52+
daggerHilt = { id = "com.google.dagger.hilt.android", version.ref = "daggerHiltVersion"}
53+
kotlinSymbolProcessing ={ id = "com.google.devtools.ksp", version.ref = "kspVersion"}
54+
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }

0 commit comments

Comments
 (0)