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 {
24
25
namespace ' com.example.sqldemo'
25
- compileSdk 32
26
+ compileSdk 35
26
27
27
28
defaultConfig {
28
29
applicationId " com.example.sqldemo"
29
30
minSdk 21
30
- targetSdk 32
31
+ targetSdk 35
31
32
versionCode 1
32
33
versionName " 1.0"
33
34
@@ -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}'
@@ -64,22 +62,22 @@ android {
64
62
}
65
63
66
64
dependencies {
67
- def room_version = ' 2.4.3 '
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
- implementation ' androidx.core:core-ktx:1.7 .0'
74
- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.3.1 '
75
- implementation ' androidx.activity:activity-compose:1.3.1 '
71
+ implementation ' androidx.core:core-ktx:1.15 .0'
72
+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.8.7 '
73
+ implementation ' androidx.activity:activity-compose:1.9.3 '
76
74
implementation " androidx.compose.ui:ui:$compose_ui_version "
77
75
implementation " androidx.compose.ui:ui-tooling-preview:$compose_ui_version "
78
- implementation ' androidx.compose.material:material:1.1.1 '
76
+ implementation ' androidx.compose.material:material:1.7.5 '
79
77
testImplementation ' junit:junit:4.13.2'
80
- androidTestImplementation ' androidx.test.ext:junit:1.1.3 '
81
- androidTestImplementation ' androidx.test.espresso:espresso-core:3.4.0 '
78
+ androidTestImplementation ' androidx.test.ext:junit:1.2.1 '
79
+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.6.1 '
82
80
androidTestImplementation " androidx.compose.ui:ui-test-junit4:$compose_ui_version "
83
81
debugImplementation " androidx.compose.ui:ui-tooling:$compose_ui_version "
84
82
debugImplementation " androidx.compose.ui:ui-test-manifest:$compose_ui_version "
85
- }
83
+ }
0 commit comments