diff --git a/.idea/misc.xml b/.idea/misc.xml index 0ad17cb..8978d23 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d0fb0c5..8cd622c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -3,6 +3,8 @@ import org.jlleitschuh.gradle.ktlint.reporter.ReporterType plugins { alias(libs.plugins.android.application) alias(libs.plugins.jetbrains.kotlin.android) + id("com.google.dagger.hilt.android") + id ("com.google.devtools.ksp") alias(libs.plugins.kotlin.serialization) id("org.jlleitschuh.gradle.ktlint") version "12.1.1" } @@ -66,6 +68,7 @@ ktlint { } } + dependencies { implementation(libs.androidx.core.ktx) @@ -87,4 +90,19 @@ dependencies { // Type-Safe Navigation with the OFFICIAL Compose Navigation Library implementation(libs.navigation.compose) implementation(libs.kotlinx.serialization.json) + + //OpenCsv + implementation(libs.opencsv) + + // Hilt + implementation("com.google.dagger:hilt-android:2.48.1") + ksp("com.google.dagger:dagger-compiler:2.48.1") + ksp("com.google.dagger:hilt-android-compiler:2.48.1") + + + + } + + + diff --git a/build.gradle.kts b/build.gradle.kts index f74b04b..56f6850 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,4 +2,6 @@ plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.jetbrains.kotlin.android) apply false + id("com.google.dagger.hilt.android") version "2.48.1" apply false + id("com.google.devtools.ksp") version "1.9.20-1.0.14" apply false } \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 59721e4..e8697d8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -9,6 +9,7 @@ lifecycleRuntimeKtx = "2.8.3" activityCompose = "1.9.0" composeBom = "2024.04.01" composeNavigation = "2.8.0-beta05" +opencsv = "5.7.1" serialization = "1.7.1" [libraries] @@ -28,9 +29,9 @@ androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit androidx-material3 = { group = "androidx.compose.material3", name = "material3" } navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "composeNavigation" } kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization"} +opencsv = { module = "com.opencsv:opencsv", version.ref = "opencsv" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" } jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } -