mirror of
https://gitlab.com/foxixus/neomovies_mobile.git
synced 2025-10-27 22:38:50 +05:00
Merge branch 'fix/build-errors-and-dependencies' into 'main'
Fix KAPT compatibility with Kotlin 2.1.0 See merge request foxixus/neomovies_mobile!8
This commit is contained in:
@@ -34,6 +34,12 @@ android {
|
||||
kotlinOptions {
|
||||
jvmTarget = "17"
|
||||
}
|
||||
|
||||
// KAPT configuration for Kotlin 2.1.0 compatibility
|
||||
kapt {
|
||||
correctErrorTypes = true
|
||||
useBuildCache = true
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -50,10 +56,10 @@ dependencies {
|
||||
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
|
||||
implementation("androidx.lifecycle:lifecycle-service:2.8.7")
|
||||
|
||||
// Room database for torrent state persistence
|
||||
implementation("androidx.room:room-runtime:2.6.1")
|
||||
implementation("androidx.room:room-ktx:2.6.1")
|
||||
kapt("androidx.room:room-compiler:2.6.1")
|
||||
// Room database for torrent state persistence - updated for Kotlin 2.1.0
|
||||
implementation("androidx.room:room-runtime:2.7.0-alpha09")
|
||||
implementation("androidx.room:room-ktx:2.7.0-alpha09")
|
||||
kapt("androidx.room:room-compiler:2.7.0-alpha09")
|
||||
|
||||
// WorkManager for background tasks
|
||||
implementation("androidx.work:work-runtime-ktx:2.10.0")
|
||||
|
||||
Reference in New Issue
Block a user