Skip to content

Commit f201d03

Browse files
committed
Trying to fix build
1 parent 6192776 commit f201d03

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
plugins {
1818
id 'com.android.application'
1919
id 'org.jetbrains.kotlin.android'
20-
id 'kotlin-kapt'
20+
id 'com.google.devtools.ksp'
21+
id 'org.jetbrains.kotlin.plugin.compose'
2122
}
2223

2324
android {
@@ -53,9 +54,6 @@ android {
5354
buildFeatures {
5455
compose true
5556
}
56-
composeOptions {
57-
kotlinCompilerExtensionVersion '1.1.1'
58-
}
5957
packagingOptions {
6058
resources {
6159
excludes += '/META-INF/{AL2.0,LGPL2.1}'
@@ -67,7 +65,7 @@ dependencies {
6765
def room_version = '2.6.1'
6866

6967
implementation "androidx.room:room-runtime:$room_version"
70-
kapt "androidx.room:room-compiler:$room_version"
68+
ksp("androidx.room:room-compiler:$room_version")
7169
implementation "androidx.room:room-ktx:$room_version"
7270

7371
implementation 'androidx.core:core-ktx:1.15.0'

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ buildscript {
2222
plugins {
2323
id 'com.android.application' version '8.7.3' apply false
2424
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+
}

0 commit comments

Comments
 (0)