This commit is contained in:
Rafal Wisniewski
2026-04-27 19:58:38 +02:00
parent 0518da44d7
commit 664df1e5a1
2 changed files with 45 additions and 32 deletions

View File

@@ -78,46 +78,32 @@ dependencies {
debugImplementation(libs.androidx.compose.ui.tooling) debugImplementation(libs.androidx.compose.ui.tooling)
debugImplementation(libs.androidx.compose.ui.test.manifest) debugImplementation(libs.androidx.compose.ui.test.manifest)
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5") coreLibraryDesugaring(libs.tools.desugar.jdk.libs)
val room_version = "2.8.4"
implementation("androidx.room:room-runtime:$room_version") implementation(libs.androidx.room.runtime)
// If this project uses any Kotlin source, use Kotlin Symbol Processing (KSP) // If this project uses any Kotlin source, use Kotlin Symbol Processing (KSP)
// See Add the KSP plugin to your project // See Add the KSP plugin to your project
ksp("androidx.room:room-compiler:$room_version") ksp(libs.androidx.room.compiler)
// optional - Kotlin Extensions and Coroutines support for Room implementation(libs.androidx.room.ktx)
implementation("androidx.room:room-ktx:$room_version") implementation(libs.androidx.room.rxjava2)
implementation(libs.androidx.room.rxjava3)
// optional - RxJava2 support for Room implementation(libs.androidx.room.guava)
implementation("androidx.room:room-rxjava2:$room_version") testImplementation(libs.androidx.room.testing)
implementation(libs.androidx.room.paging)
// optional - RxJava3 support for Room implementation(libs.androidx.paging.runtime)
implementation("androidx.room:room-rxjava3:$room_version") implementation(libs.androidx.paging.compose)
// optional - Guava support for Room, including Optional and ListenableFuture
implementation("androidx.room:room-guava:$room_version")
// optional - Test helpers
testImplementation("androidx.room:room-testing:$room_version")
// optional - Paging 3 Integration
implementation("androidx.room:room-paging:$room_version")
implementation("androidx.paging:paging-runtime:3.4.2")
implementation("androidx.paging:paging-compose:3.4.2")
implementation(libs.androidx.datastore.preferences) implementation(libs.androidx.datastore.preferences)
implementation(libs.icons.material.symbols.outlined.android) implementation(libs.icons.material.symbols.outlined.android)
implementation(libs.icons.material.symbols.outlined.filled.android) implementation(libs.icons.material.symbols.outlined.filled.android)
implementation("com.google.dagger:hilt-android:2.57.1") implementation(libs.hilt.android)
ksp("com.google.dagger:hilt-android-compiler:2.57.1") ksp(libs.hilt.android.compiler)
implementation("androidx.hilt:hilt-navigation-compose:1.3.0") implementation(libs.androidx.hilt.navigation.compose)
implementation("io.ktor:ktor-client-core:3.4.1") implementation(libs.ktor.client.core)
implementation("io.ktor:ktor-client-okhttp:3.4.1") implementation(libs.ktor.client.okhttp)
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.10.0") implementation(libs.kotlinx.serialization.json.jvm)
implementation("org.apache.commons:commons-csv:1.5") implementation(libs.commons.csv)
} }

View File

@@ -1,10 +1,13 @@
[versions] [versions]
agp = "8.13.2" agp = "8.13.2"
commonsCsv = "1.14.1" commonsCsv = "1.14.1"
commonsCsvVersion = "1.14.1"
datastorePreferences = "1.2.1" datastorePreferences = "1.2.1"
desugar_jdk_libsVersion = "2.1.5" desugar_jdk_libsVersion = "2.1.5"
hiltAndroid = "2.59.2" hiltAndroid = "2.59.2"
hiltAndroidCompiler = "2.57.1"
hiltNavigationCompose = "1.3.0" hiltNavigationCompose = "1.3.0"
hiltNavigationComposeVersion = "1.3.0"
iconsMaterialSymbolsOutlinedAndroid = "2.2.1" iconsMaterialSymbolsOutlinedAndroid = "2.2.1"
kotlin = "2.2.21" kotlin = "2.2.21"
coreKtx = "1.10.1" coreKtx = "1.10.1"
@@ -20,7 +23,17 @@ composeBom = "2024.09.00"
navigationCompose = "2.9.7" navigationCompose = "2.9.7"
foundationLayout = "1.10.5" foundationLayout = "1.10.5"
pagingCompose = "3.4.2" pagingCompose = "3.4.2"
pagingComposeVersion = "3.4.2"
pagingRuntime = "3.4.2"
roomCompiler = "2.8.4" roomCompiler = "2.8.4"
roomCompilerVersion = "2.8.4"
roomGuava = "2.8.4"
roomKtx = "2.8.4"
roomPaging = "2.8.4"
roomRuntime = "2.8.4"
roomRxjava2 = "2.8.4"
roomRxjava3 = "2.8.4"
roomTesting = "2.8.4"
uiautomator = "2.3.0" uiautomator = "2.3.0"
benchmarkMacroJunit4 = "1.2.4" benchmarkMacroJunit4 = "1.2.4"
baselineprofile = "1.2.4" baselineprofile = "1.2.4"
@@ -44,6 +57,20 @@ androidx-datastore-preferences = { module = "androidx.datastore:datastore-prefer
#commons-csv = { module = "org.apache.commons:commons-csv", version.ref = "commonsCsv" } #commons-csv = { module = "org.apache.commons:commons-csv", version.ref = "commonsCsv" }
#hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hiltAndroid" } #hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hiltAndroid" }
#hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hiltAndroid" } #hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hiltAndroid" }
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationComposeVersion" }
androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "pagingComposeVersion" }
androidx-paging-runtime = { module = "androidx.paging:paging-runtime", version.ref = "pagingRuntime" }
androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "roomCompilerVersion" }
androidx-room-guava = { module = "androidx.room:room-guava", version.ref = "roomGuava" }
androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "roomKtx" }
androidx-room-paging = { module = "androidx.room:room-paging", version.ref = "roomPaging" }
androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "roomRuntime" }
androidx-room-rxjava2 = { module = "androidx.room:room-rxjava2", version.ref = "roomRxjava2" }
androidx-room-rxjava3 = { module = "androidx.room:room-rxjava3", version.ref = "roomRxjava3" }
androidx-room-testing = { module = "androidx.room:room-testing", version.ref = "roomTesting" }
commons-csv = { module = "org.apache.commons:commons-csv", version.ref = "commonsCsvVersion" }
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hiltAndroidCompiler" }
hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hiltAndroidCompiler" }
icons-material-symbols-outlined-android = { module = "com.composables:icons-material-symbols-outlined-android", version.ref = "iconsMaterialSymbolsOutlinedAndroid" } icons-material-symbols-outlined-android = { module = "com.composables:icons-material-symbols-outlined-android", version.ref = "iconsMaterialSymbolsOutlinedAndroid" }
icons-material-symbols-outlined-filled-android = { module = "com.composables:icons-material-symbols-outlined-filled-android", version.ref = "iconsMaterialSymbolsOutlinedAndroid" } icons-material-symbols-outlined-filled-android = { module = "com.composables:icons-material-symbols-outlined-filled-android", version.ref = "iconsMaterialSymbolsOutlinedAndroid" }
junit = { group = "junit", name = "junit", version.ref = "junit" } junit = { group = "junit", name = "junit", version.ref = "junit" }