From a3a4403cc76971bb1afef4b958793c4756ea30fb Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 8 Sep 2022 19:47:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 6 +----- build.gradle | 2 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 58abfd2c2..9bb9608c7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,7 +1,6 @@ plugins { id "com.android.application" id 'org.jetbrains.kotlin.android' - id 'com.google.devtools.ksp' id 'kotlin-parcelize' id 'kotlin-kapt' id "de.timfreiheit.resourceplaceholders" @@ -58,9 +57,6 @@ android { ] } } - ksp { - arg("room.schemaLocation", "$projectDir/schemas") - } } buildFeatures { viewBinding true @@ -200,7 +196,7 @@ dependencies { //room implementation("androidx.room:room-runtime:$room_version") implementation("androidx.room:room-ktx:$room_version") - ksp("androidx.room:room-compiler:$room_version") + kapt("androidx.room:room-compiler:$room_version") testImplementation("androidx.room:room-testing:$room_version") //liveEventBus diff --git a/build.gradle b/build.gradle index 0ad2260cb..27d2ef894 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,6 @@ buildscript { ext{ kotlin_version = '1.7.10' - ksp_version = "1.7.10-1.0.6" compose_version = '1.2.1' compose_compiler_version = '1.3.0' agp_version= '7.2.2' @@ -17,7 +16,6 @@ plugins { id 'com.android.application' version "$agp_version" apply false id 'com.android.library' version "$agp_version" apply false id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false - id 'com.google.devtools.ksp' version "$ksp_version" apply false id "de.timfreiheit.resourceplaceholders" version "0.4" apply false id "de.undercouch.download" version "5.1.0" apply false id "com.google.gms.google-services" version "4.3.10" apply false