Skip to content

Commit e3e751a

Browse files
committed
build: tambah dependency Room dan KSP ke build.gradle
1 parent 28fb904 commit e3e751a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

app/build.gradle.kts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ plugins {
1818
id("com.android.application")
1919
id("org.jetbrains.kotlin.android")
2020
id("org.jetbrains.kotlin.plugin.compose")
21+
id("com.google.devtools.ksp")
2122
}
2223

2324
android {
@@ -64,6 +65,11 @@ android {
6465
}
6566

6667
dependencies {
68+
val room_version= "2.7.0"
69+
70+
implementation("androidx.room:room-ktx:${room_version}")
71+
implementation("androidx.room:room-runtime:${room_version}")
72+
ksp("androidx.room:room-compiler:${room_version}")
6773
implementation(platform("androidx.compose:compose-bom:2024.12.01"))
6874
implementation("androidx.activity:activity-compose:1.9.3")
6975
implementation("androidx.compose.material3:material3")
@@ -78,4 +84,4 @@ dependencies {
7884
debugImplementation("androidx.compose.ui:ui-tooling")
7985

8086
testImplementation("junit:junit:4.13.2")
81-
}
87+
}

0 commit comments

Comments
 (0)