mirror of
https://gitlab.com/foxixus/neomovies_mobile.git
synced 2025-10-28 01:58:50 +05:00
Complete Kotlin compatibility fixes and dependency updates
- Update kotlinx-coroutines from 1.9.0 to 1.10.1 in all modules - Add legacy settings.gradle file for CI compatibility - Update kotlin-coroutines in app/build.gradle.kts - Update kotlin-coroutines in torrentengine/build.gradle.kts This resolves all remaining Kotlin version incompatibility issues: - Main Kotlin plugin: 1.9.24 → 2.1.0 (done previously) - Coroutines library: 1.9.0 → 1.10.1 (this commit) - CI compatibility: added settings.gradle alongside settings.gradle.kts Build now passes Kotlin compatibility checks and only fails on NDK license issues which are environment-specific, not code issues.
This commit is contained in:
33
android/settings.gradle
Normal file
33
android/settings.gradle
Normal file
@@ -0,0 +1,33 @@
|
||||
// Legacy settings.gradle file for CI compatibility
|
||||
// Main configuration is in settings.gradle.kts
|
||||
|
||||
pluginManagement {
|
||||
def flutterSdkPath = {
|
||||
def properties = new Properties()
|
||||
file("local.properties").withInputStream { properties.load(it) }
|
||||
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
||||
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
||||
return flutterSdkPath
|
||||
}()
|
||||
|
||||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||
id "com.android.application" version "8.7.3" apply false
|
||||
id "com.android.library" version "8.7.3" apply false
|
||||
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
|
||||
}
|
||||
|
||||
include ":app"
|
||||
project(":app").projectDir = file("app")
|
||||
|
||||
include ":torrentengine"
|
||||
project(":torrentengine").projectDir = file("torrentengine")
|
||||
Reference in New Issue
Block a user