diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 796bb03..47d87af 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,6 +1,7 @@ plugins { alias(libs.plugins.androidApplication) alias(libs.plugins.jetbrainsKotlinAndroid) + id("com.google.devtools.ksp") version "1.9.20-1.0.14" } android { @@ -69,4 +70,9 @@ dependencies { implementation("com.squareup.retrofit2:retrofit:2.11.0") implementation("com.squareup.retrofit2:converter-gson:2.11.0") implementation("io.coil-kt:coil-compose:2.6.0") + + implementation("androidx.room:room-runtime:${rootProject.extra["room_version"]}") + implementation("androidx.core:core-ktx:1.12.0") + ksp("androidx.room:room-compiler:${rootProject.extra["room_version"]}") + implementation("androidx.room:room-ktx:${rootProject.extra["room_version"]}") } \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index a0985ef..a2062cf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,4 +2,10 @@ plugins { alias(libs.plugins.androidApplication) apply false alias(libs.plugins.jetbrainsKotlinAndroid) apply false +} + +buildscript { + extra.apply { + set("room_version", "2.6.0") + } } \ No newline at end of file