fix(build): Room KAPT→KSP 마이그레이션 및 configuration cache 비활성화로 Kotlin 2.0 빌드 오류 해결
- Room을 2.6.1로 업데이트하고 KAPT를 KSP로 전환 - room-rxjava3 의존성 추가(RxJava3 반환 타입 지원) - ObjectBox 플러그인과 충돌 회피를 위해 configuration cache 비활성화 - AGP 8.4.2 + Kotlin 2.0.21 환경에서 빌드 성공 확인
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
||||
id 'com.google.gms.google-services'
|
||||
id 'com.google.android.gms.oss-licenses-plugin'
|
||||
|
||||
id 'kotlin-kapt'
|
||||
id 'com.google.devtools.ksp'
|
||||
id 'kotlin-parcelize'
|
||||
id 'org.jlleitschuh.gradle.ktlint'
|
||||
|
||||
@@ -181,9 +181,10 @@ dependencies {
|
||||
implementation "com.android.billingclient:billing-ktx:6.2.0"
|
||||
|
||||
// ROOM
|
||||
kapt "androidx.room:room-compiler:2.5.0"
|
||||
implementation "androidx.room:room-ktx:2.5.0"
|
||||
implementation "androidx.room:room-runtime:2.5.0"
|
||||
ksp "androidx.room:room-compiler:2.6.1"
|
||||
implementation "androidx.room:room-ktx:2.6.1"
|
||||
implementation "androidx.room:room-runtime:2.6.1"
|
||||
implementation "androidx.room:room-rxjava3:2.6.1"
|
||||
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user