diff --git a/app/build.gradle b/app/build.gradle
index 54c41e27a8..0c36697c94 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -12,9 +12,14 @@ import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import com.github.spotbugs.snom.SpotBugsTask
+plugins {
+ id "org.jetbrains.kotlin.plugin.compose" version "2.0.0"
+ id "org.jetbrains.kotlin.kapt"
+ id 'com.google.devtools.ksp' version '2.0.0-1.0.21'
+}
+
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
-apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
@@ -152,6 +157,7 @@ configurations.configureEach {
}
dependencies {
+ implementation("androidx.compose.runtime:runtime:1.6.8")
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation 'androidx.datastore:datastore-core:1.1.1'
implementation 'androidx.datastore:datastore-preferences:1.1.1'
@@ -222,7 +228,7 @@ dependencies {
implementation "androidx.room:room-runtime:${roomVersion}"
implementation "androidx.room:room-rxjava2:${roomVersion}"
- kapt "androidx.room:room-compiler:${roomVersion}"
+ ksp "androidx.room:room-compiler:$roomVersion"
implementation "androidx.room:room-ktx:${roomVersion}"
implementation "org.parceler:parceler-api:$parcelerVersion"
@@ -350,3 +356,7 @@ detekt {
config.setFrom("../detekt.yml")
source.setFrom("src/")
}
+
+ksp {
+ arg('room.schemaLocation', "$projectDir/schemas")
+}
diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml
index aa73584e13..43f3ee2e8f 100644
--- a/gradle/verification-metadata.xml
+++ b/gradle/verification-metadata.xml
@@ -38,7 +38,10 @@
-
+
+
+
+
@@ -179,6 +182,7 @@
+
@@ -5054,6 +5058,7 @@
+
@@ -5077,6 +5082,11 @@
+
+
+
+
+