pull/2015/head
kunfei 2 years ago
parent bbb9a424c2
commit 3a1ac902c3
  1. 13
      app/build.gradle
  2. 4
      build.gradle

@ -1,6 +1,7 @@
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"
@ -57,6 +58,9 @@ android {
]
}
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
buildFeatures {
viewBinding true
@ -129,12 +133,6 @@ resourcePlaceholders {
files = ['xml/shortcuts.xml']
}
kapt {
arguments {
arg("room.schemaLocation", "$projectDir/schemas")
}
}
dependencies {
//noinspection GradleDependency
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6')
@ -204,8 +202,7 @@ dependencies {
//room
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")
ksp("androidx.room:room-compiler:$room_version")
testImplementation("androidx.room:room-testing:$room_version")
//liveEventBus

@ -3,12 +3,13 @@
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'
exoplayer_version = '2.18.1'
splitties_version = '3.0.0'
room_version = '2.5.0-alpha02'
room_version = '2.4.3'
}
}
@ -16,6 +17,7 @@ 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

Loading…
Cancel
Save