Files
neomovies-mobile/android/settings.gradle.kts
factory-droid[bot] 2f191dd302 fix(build): resolve Gradle and manifest issues for TorrentEngine
- 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
2025-10-02 12:27:20 +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 "1.9.24" apply false
}
include(":app")
include(":torrentengine")