mirror of
https://gitlab.com/foxixus/neomovies_mobile.git
synced 2025-10-28 03:58:50 +05:00
- Remove deprecated android.enableBuildCache from gradle.properties - Downgrade Kotlin from 2.1.0 to 1.9.24 for Room compatibility - Add tools namespace to AndroidManifest.xml - Restore LibTorrent4j to 2.1.0-28 (verified available version) Known issue: TorrentEngine.kt needs API updates for LibTorrent4j 2.1.x See compilation errors related to SessionParams, popAlerts, TorrentInfo constructor
36 lines
1.1 KiB
Plaintext
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 "1.9.24" apply false
|
|
}
|
|
|
|
include(":app")
|
|
include(":torrentengine")
|