11plugins {
22 id(' com.android.application' )
33 id(' kotlin-android' )
4- id(' kotlin-kapt ' )
4+ id(" com.google.devtools.ksp " )
55}
66
77android {
@@ -21,13 +21,10 @@ android {
2121 versionName " 1.0.3"
2222
2323 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
24- javaCompileOptions {
25- annotationProcessorOptions {
26- arguments + = [
27- " room.schemaLocation" : " $projectDir /schemas" . toString(),
28- " room.incremental" : " true" ,
29- " room.expandProjection" : " true" ]
30- }
24+ ksp {
25+ arg(" room.schemaLocation" , " $projectDir /schemas" )
26+ arg(" room.incremental" , " true" )
27+ arg(" room.expandProjection" , " true" )
3128 }
3229 }
3330
@@ -50,7 +47,7 @@ android {
5047
5148dependencies {
5249 implementation fileTree(dir : " libs" , include : [" *.jar" ])
53- implementation ' androidx.core:core-ktx:1.9.0 '
50+ implementation ' androidx.core:core-ktx:1.10.1 '
5451 implementation ' androidx.appcompat:appcompat:1.6.1'
5552 implementation ' androidx.constraintlayout:constraintlayout:2.1.4'
5653 implementation project(path : ' :core' )
@@ -60,10 +57,10 @@ dependencies {
6057 androidTestImplementation ' androidx.test.espresso:espresso-core:3.5.1'
6158
6259 // ROOM SQLite
63- def room_version = " 2.5.0 "
60+ def room_version = " 2.5.2 "
6461
6562 implementation " androidx.room:room-runtime:$room_version "
66- kapt " androidx.room:room-compiler:$room_version "
63+ ksp " androidx.room:room-compiler:$room_version "
6764
6865 // optional - Kotlin Extensions and Coroutines support for Room
6966 implementation " androidx.room:room-ktx:$room_version "
@@ -72,7 +69,7 @@ dependencies {
7269 implementation " androidx.room:room-rxjava2:$room_version "
7370
7471 implementation ' androidx.lifecycle:lifecycle-extensions:2.2.0'
75- implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.5 .1"
72+ implementation " androidx.lifecycle:lifecycle-viewmodel-ktx:2.6 .1"
7673
7774 // optional - Guava support for Room, including Optional and ListenableFuture
7875 implementation " androidx.room:room-guava:$room_version "
@@ -81,9 +78,9 @@ dependencies {
8178 testImplementation " androidx.room:room-testing:$room_version "
8279
8380 // Recyclerview Implementation
84- implementation ' androidx.recyclerview:recyclerview:1.2 .1'
81+ implementation ' androidx.recyclerview:recyclerview:1.3 .1'
8582
8683 // Material Design Implementation
87- implementation ' com.google.android.material:material:1.8 .0'
84+ implementation ' com.google.android.material:material:1.9 .0'
8885
8986}
0 commit comments