From 71e8cebff4667020bc20d5362f3885c32e10dda4 Mon Sep 17 00:00:00 2001 From: tom5079 <7948651+tom5079@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:29:51 -0800 Subject: [PATCH] wip --- app/build.gradle.kts | 82 ++------------------------------------- gradle/libs.versions.toml | 4 ++ 2 files changed, 8 insertions(+), 78 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index a7721cc2..b025ae38 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -69,6 +69,9 @@ dependencies { implementation(libs.androidx.compose.ui.tooling.preview) implementation(libs.androidx.compose.material.icons.extended) + implementation(libs.androidx.room.runtime) + ksp(libs.androidx.room.compiler) + implementation(libs.accompanist.adaptive) implementation(libs.coil) @@ -85,81 +88,4 @@ dependencies { implementation(libs.ktor.client.okhttp) implementation(libs.documentFileX) -} - -//dependencies { -// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" -// implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0" -// implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" -// implementation "org.jetbrains.kotlinx:kotlinx-datetime:0.5.0" -// -// implementation "androidx.appcompat:appcompat:1.7.0" -// implementation "androidx.activity:activity-ktx:1.9.0" -// implementation "androidx.fragment:fragment-ktx:1.8.1" -// implementation "androidx.preference:preference-ktx:1.2.1" -// implementation "androidx.recyclerview:recyclerview:1.3.2" -// implementation "androidx.constraintlayout:constraintlayout:2.1.4" -// implementation "androidx.gridlayout:gridlayout:1.0.0" -// implementation "androidx.biometric:biometric:1.1.0" -// implementation "androidx.work:work-runtime-ktx:2.9.0" -// -// implementation platform("androidx.compose:compose-bom:2024.06.00") -// -// implementation "androidx.compose.material3:material3" -// implementation "androidx.compose.material3:material3-window-size-class" -// implementation 'androidx.compose.foundation:foundation' -// implementation 'androidx.compose.ui:ui' -// implementation 'androidx.compose.ui:ui-tooling-preview' -// debugImplementation 'androidx.compose.ui:ui-tooling' -// androidTestImplementation 'androidx.compose.ui:ui-test-junit4:1.6.8' -// debugImplementation 'androidx.compose.ui:ui-test-manifest' -// implementation 'androidx.compose.material:material-icons-extended' -// implementation 'androidx.activity:activity-compose:1.9.0' -// implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.8.2' -// implementation 'androidx.lifecycle:lifecycle-runtime-compose:2.8.2' -// implementation "com.google.accompanist:accompanist-adaptive:0.34.0" -// implementation "androidx.navigation:navigation-compose:2.7.7" -// -// ksp 'androidx.lifecycle:lifecycle-compiler:2.8.2' -// -// def room_version = "2.6.1" -// -// implementation "androidx.room:room-runtime:$room_version" -// annotationProcessor "androidx.room:room-compiler:$room_version" -// ksp "androidx.room:room-compiler:$room_version" -// -// implementation "io.ktor:ktor-client-core:2.3.8" -// implementation "io.ktor:ktor-client-okhttp:2.3.8" -// -// implementation "io.coil-kt:coil-compose:2.6.0" -// -// implementation "com.google.dagger:hilt-android:2.51.1" -// ksp "com.google.dagger:hilt-compiler:2.51.1" -// -// implementation "com.google.android.material:material:1.12.0" -// -// implementation platform('com.google.firebase:firebase-bom:33.1.1') -// implementation "com.google.firebase:firebase-analytics-ktx" -// implementation "com.google.firebase:firebase-crashlytics-ktx" -// implementation "com.google.firebase:firebase-perf-ktx" -// -// implementation "com.google.android.gms:play-services-oss-licenses:17.1.0" -// implementation "com.google.android.gms:play-services-mlkit-face-detection:17.1.0" -// -// implementation "com.github.clans:fab:1.6.4" -// -// //noinspection GradleDependency -// implementation "com.squareup.okhttp3:okhttp:4.12.0" -// -// implementation "ru.noties.markwon:core:3.1.0" -// -// implementation "xyz.quaver:documentfilex:0.7.2" -// implementation "xyz.quaver:floatingsearchview:1.1.7" -// -// testImplementation "junit:junit:4.13.2" -// testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0" -// androidTestImplementation "androidx.test.ext:junit:1.2.1" -// androidTestImplementation "androidx.test:rules:1.6.1" -// androidTestImplementation "androidx.test:runner:1.6.1" -// androidTestImplementation "androidx.test.espresso:espresso-core:3.6.1" -//} \ No newline at end of file +} \ No newline at end of file diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 640c2f35..3b9a2ea2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -18,6 +18,7 @@ crashlytics = "3.0.2" hilt = "2.51.1" ktor = "2.3.8" coil = "2.6.0" +room = "2.6.1" kotlinx-serialization = "1.3.2" kotlinx-coroutines = "1.8.0" @@ -36,6 +37,9 @@ androidx-activity-compose = { group = "androidx.activity", name = "activity-comp androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidxLifecycle" } androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "androidxNavigation" } +androidx-room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" } +androidx-room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" } + androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidxComposeBom" } androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" } androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }