Basic Room integration
This commit is contained in:
parent
0448677b67
commit
76729430ec
9 changed files with 166 additions and 14 deletions
|
|
@ -2,6 +2,7 @@ plugins {
|
|||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
alias(libs.plugins.kotlin.compose)
|
||||
id("com.google.devtools.ksp")
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -40,6 +41,12 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(libs.androidx.room.common.jvm)
|
||||
implementation(libs.androidx.room.runtime.android)
|
||||
implementation(libs.androidx.lifecycle.viewmodel.compose.android)
|
||||
val room_version = "2.7.2"
|
||||
|
||||
ksp("androidx.room:room-compiler:$room_version")
|
||||
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.androidx.lifecycle.runtime.ktx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue