Convert room to ksp

pull/2453/head
Alex Baker 9 months ago
parent 17818c6e29
commit aa861cb5e5

@ -11,6 +11,7 @@ plugins {
id("dagger.hilt.android.plugin")
id("com.google.android.gms.oss-licenses-plugin")
id("kotlin-parcelize")
id("com.google.devtools.ksp")
}
repositories {
@ -61,11 +62,9 @@ android {
minSdk = 24
testInstrumentationRunner = "org.tasks.TestRunner"
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
}
}
@ -191,7 +190,7 @@ dependencies {
implementation(libs.androidx.lifecycle.runtime)
implementation(libs.androidx.lifecycle.viewmodel)
implementation(libs.androidx.room)
kapt(libs.androidx.room.compiler)
ksp(libs.androidx.room.compiler)
implementation(libs.androidx.appcompat)
implementation(libs.markwon)
implementation(libs.markwon.editor)

@ -1,3 +1,7 @@
plugins {
id("com.google.devtools.ksp") version "1.9.0-1.0.13" apply false
}
buildscript {
repositories {
mavenCentral()

Loading…
Cancel
Save