diff --git a/app/build.gradle b/app/build.gradle index e46d66c2d..6185dfa6c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,6 +1,7 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' +apply plugin: 'com.google.devtools.ksp' apply plugin: "androidx.navigation.safeargs.kotlin" apply plugin: 'kotlin-parcelize' @@ -122,7 +123,7 @@ dependencies { def room_version = '2.5.0-alpha02' implementation "androidx.room:room-runtime:$room_version" implementation "androidx.room:room-ktx:$room_version" - kapt "androidx.room:room-compiler:$room_version" + ksp "androidx.room:room-compiler:$room_version" implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" diff --git a/build.gradle b/build.gradle index a7c795284..18e4ce640 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,7 @@ buildscript { } } plugins { + id 'com.google.devtools.ksp' version '1.7.10-1.0.6' apply false id "com.github.ben-manes.versions" version "0.42.0" }