File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 17
17
plugins {
18
18
id ' com.android.application'
19
19
id ' org.jetbrains.kotlin.android'
20
- id ' kotlin-kapt'
20
+ id ' com.google.devtools.ksp'
21
+ id ' org.jetbrains.kotlin.plugin.compose'
21
22
}
22
23
23
24
android {
@@ -53,9 +54,6 @@ android {
53
54
buildFeatures {
54
55
compose true
55
56
}
56
- composeOptions {
57
- kotlinCompilerExtensionVersion ' 1.1.1'
58
- }
59
57
packagingOptions {
60
58
resources {
61
59
excludes + = ' /META-INF/{AL2.0,LGPL2.1}'
@@ -67,7 +65,7 @@ dependencies {
67
65
def room_version = ' 2.6.1'
68
66
69
67
implementation " androidx.room:room-runtime:$room_version "
70
- kapt " androidx.room:room-compiler:$room_version "
68
+ ksp( " androidx.room:room-compiler:$room_version " )
71
69
implementation " androidx.room:room-ktx:$room_version "
72
70
73
71
implementation ' androidx.core:core-ktx:1.15.0'
Original file line number Diff line number Diff line change @@ -22,5 +22,7 @@ buildscript {
22
22
plugins {
23
23
id ' com.android.application' version ' 8.7.3' apply false
24
24
id ' com.android.library' version ' 8.7.3' apply false
25
- id ' org.jetbrains.kotlin.android' version ' 1.6.10' apply false
26
- }
25
+ id ' org.jetbrains.kotlin.android' version ' 2.1.0' apply false
26
+ id ' com.google.devtools.ksp' version ' 2.1.0-1.0.29' apply false
27
+ id ' org.jetbrains.kotlin.plugin.compose' version ' 2.1.0' apply false
28
+ }
You can’t perform that action at this time.
0 commit comments