add room dependency

This commit is contained in:
tom5079
2024-03-04 19:45:59 -08:00
parent 48752a323f
commit f34876ca93
2 changed files with 13 additions and 3 deletions

View File

@@ -1,9 +1,10 @@
apply plugin: "com.android.application"
apply plugin: "kotlin-android"
apply plugin: "kotlin-kapt"
apply plugin: "kotlin-parcelize"
apply plugin: "kotlinx-serialization"
apply plugin: "com.google.android.gms.oss-licenses-plugin"
apply plugin: "com.google.devtools.ksp"
if (file("google-services.json").exists()) {
logger.lifecycle("Firebase Enabled")
@@ -96,7 +97,13 @@ dependencies {
implementation "com.google.accompanist:accompanist-adaptive:0.34.0"
implementation "androidx.navigation:navigation-compose:2.7.7"
kapt 'androidx.lifecycle:lifecycle-compiler:2.7.0'
ksp 'androidx.lifecycle:lifecycle-compiler:2.7.0'
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 "androidx.paging:paging-compose:3.2.1"

View File

@@ -1,5 +1,4 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
@@ -19,6 +18,10 @@ buildscript {
}
}
plugins {
id 'com.google.devtools.ksp' version '1.9.22-1.0.17' apply false
}
allprojects {
repositories {
google()