Files
neomovies-mobile/android/settings.gradle.kts
factory-droid[bot] 94b001e782 Update Kotlin version to 2.1.0 for compatibility
- Fixes Kotlin metadata version incompatibility errors
- Updates org.jetbrains.kotlin.android from 1.9.24 to 2.1.0
- Resolves compilation errors with kotlin-stdlib 2.2.0

This addresses the build failure where Kotlin classes were compiled
with metadata version 2.2.0 but compiler version 1.9.0 could only
read up to version 2.0.0.
2025-10-03 11:03:59 +00:00

36 lines
1.1 KiB
Plaintext

pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
val localPropertiesFile = file("local.properties")
if (localPropertiesFile.exists()) {
localPropertiesFile.inputStream().use { properties.load(it) }
}
// Try to get from local.properties first, then from environment variable
val flutterSdkPath = properties.getProperty("flutter.sdk")
?: System.getenv("FLUTTER_ROOT")
?: System.getenv("FLUTTER_SDK")
?: "/opt/flutter" // Default path in CI
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")
include(":torrentengine")