2025-07-13 14:01:29 +03:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
id("kotlin-android")
|
|
|
|
|
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
|
|
|
|
|
id("dev.flutter.flutter-gradle-plugin")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2025-08-03 18:24:12 +03:00
|
|
|
namespace = "com.neo.neomovies_mobile"
|
2025-07-13 14:01:29 +03:00
|
|
|
compileSdk = flutter.compileSdkVersion
|
|
|
|
|
ndkVersion = "27.0.12077973"
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_17
|
2025-07-13 14:01:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlinOptions {
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
jvmTarget = "17"
|
2025-07-13 14:01:29 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
2025-08-03 18:24:12 +03:00
|
|
|
applicationId = "com.neo.neomovies_mobile"
|
2025-07-13 14:01:29 +03:00
|
|
|
// You can update the following values to match your application needs.
|
|
|
|
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
|
|
|
|
minSdk = flutter.minSdkVersion
|
|
|
|
|
targetSdk = flutter.targetSdkVersion
|
|
|
|
|
versionCode = flutter.versionCode
|
|
|
|
|
versionName = flutter.versionName
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
// TODO: Add your own signing config for the release build.
|
|
|
|
|
// Signing with the debug keys for now, so `flutter run --release` works.
|
|
|
|
|
signingConfig = signingConfigs.getByName("debug")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
flutter {
|
|
|
|
|
source = "../.."
|
|
|
|
|
}
|
2025-08-03 18:24:12 +03:00
|
|
|
|
|
|
|
|
dependencies {
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
// TorrentEngine library module
|
|
|
|
|
implementation(project(":torrentengine"))
|
2025-08-03 18:24:12 +03:00
|
|
|
|
|
|
|
|
// Kotlin Coroutines
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
|
2025-08-03 18:24:12 +03:00
|
|
|
|
|
|
|
|
// Gson для JSON сериализации
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
implementation("com.google.code.gson:gson:2.11.0")
|
2025-08-03 18:24:12 +03:00
|
|
|
|
|
|
|
|
// AndroidX libraries
|
feat: Add TorrentEngine library and new API client
- Created complete TorrentEngine library module with LibTorrent4j
- Full torrent management (add, pause, resume, remove)
- Magnet link metadata extraction
- File priority management (even during download)
- Foreground service with persistent notification
- Room database for state persistence
- Reactive Flow API for UI updates
- Integrated TorrentEngine with MainActivity via MethodChannel
- addTorrent, getTorrents, pauseTorrent, resumeTorrent, removeTorrent
- setFilePriority for dynamic file selection
- Full JSON serialization for Flutter communication
- Created new NeoMoviesApiClient for Go-based backend
- Email verification flow (register, verify, resendCode)
- Google OAuth support
- Torrent search via RedAPI
- Multiple player support (Alloha, Lumex, Vibix)
- Enhanced reactions system (likes/dislikes)
- All movies/TV shows endpoints
- Updated dependencies and build configuration
- Java 17 compatibility
- Updated Kotlin coroutines to 1.9.0
- Fixed build_runner version conflict
- Added torrentengine module to settings.gradle.kts
- Added comprehensive documentation
- TorrentEngine README with usage examples
- DEVELOPMENT_SUMMARY with full implementation details
- ProGuard rules for library
This is a complete rewrite of torrent functionality as a reusable library.
2025-10-02 10:56:22 +00:00
|
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
|
2025-08-03 18:24:12 +03:00
|
|
|
}
|