Files
corestate/apps/android/androidApp/build.gradle.kts
Wiktor d89118eb70 feat: complete full-fledged mobile app and comprehensive system improvements
## Major Features Added:

### 📱 Complete Native Mobile App
- Full Android app with Material 3 design and Jetpack Compose
- Dashboard, Backup, Files, and Settings screens with rich functionality
- Biometric authentication, file management, and real-time sync
- Modern UI components and navigation with proper state management
- Comprehensive permissions and Android manifest configuration

### 🚀 Enhanced CI/CD Pipelines
- 7 comprehensive GitHub workflows with proper testing and deployment
- Multi-language support (Kotlin, Rust, Python, Node.js, Scala)
- Security scanning with Trivy, CodeQL, Semgrep, and infrastructure validation
- Performance testing with automated benchmarking and reporting
- ML training pipeline with model validation and artifact management

### 🏗️ Production-Ready Infrastructure
- Complete Terraform configuration with VPC, EKS, security groups, IAM
- Kubernetes deployments with proper resource management and health checks
- Service mesh integration with Prometheus monitoring
- Multi-environment support with secrets management

### 🤖 Advanced ML Capabilities
- Enhanced anomaly detection with Variational Autoencoders and Isolation Forest
- Sophisticated backup prediction with ensemble methods and temporal features
- 500+ lines of production-ready ML code with proper error handling
- Model serving infrastructure with fallback mechanisms

### 🔧 Complete Microservices Architecture
- 5 new production-ready services with Docker containers:
  - Compression Engine (Rust) - Multi-algorithm compression optimization
  - Deduplication Service (Python) - Content-defined chunking
  - Encryption Service (Node.js) - Advanced cryptography and key management
  - Index Service (Kotlin) - Elasticsearch integration for fast search
  - Enhanced existing services with comprehensive dependency management

### 📊 System Improvements
- Removed web dashboard in favor of full mobile app
- Enhanced build configurations across all services
- Comprehensive dependency updates with security patches
- Cross-platform mobile support (Android + iOS KMP ready)

## Technical Details:
- 91 files changed: 9,459 additions, 2,600 deletions
- Modern Android app with Hilt DI, Room, Compose, WebRTC, gRPC
- Production infrastructure with proper security and monitoring
- Advanced ML models with ensemble approaches and feature engineering
- Comprehensive CI/CD with security scanning and performance testing
2025-07-23 02:55:21 +02:00

164 lines
5.4 KiB
Kotlin

plugins {
id("com.android.application")
kotlin("android")
kotlin("kapt")
id("dagger.hilt.android.plugin")
id("kotlin-parcelize")
}
android {
namespace = "com.corestate.androidApp"
compileSdk = 34
defaultConfig {
applicationId = "com.corestate.androidApp"
minSdk = 26
targetSdk = 34
versionCode = 1
versionName = "2.0.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
buildTypes {
getByName("release") {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
getByName("debug") {
isDebuggable = true
applicationIdSuffix = ".debug"
}
}
buildFeatures {
compose = true
dataBinding = true
viewBinding = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.4"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
freeCompilerArgs = listOf(
"-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
"-opt-in=androidx.compose.foundation.ExperimentalFoundationApi"
)
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
implementation(project(":apps:android:shared"))
// Android Core
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.activity:activity-compose:1.8.1")
implementation("androidx.fragment:fragment-ktx:1.6.2")
// Compose BOM
implementation(platform("androidx.compose:compose-bom:2023.10.01"))
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.material:material-icons-extended")
// Navigation
implementation("androidx.navigation:navigation-compose:2.7.5")
implementation("androidx.hilt:hilt-navigation-compose:1.1.0")
// Lifecycle
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.7.0")
implementation("androidx.lifecycle:lifecycle-runtime-compose:2.7.0")
// Dependency Injection
implementation("com.google.dagger:hilt-android:2.48")
kapt("com.google.dagger:hilt-compiler:2.48")
// Networking
implementation("com.squareup.retrofit2:retrofit:2.9.0")
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
// gRPC
implementation("io.grpc:grpc-okhttp:1.58.0")
implementation("io.grpc:grpc-protobuf-lite:1.58.0")
implementation("io.grpc:grpc-stub:1.58.0")
// Coroutines
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3")
// Local Storage
implementation("androidx.room:room-runtime:2.6.0")
implementation("androidx.room:room-ktx:2.6.0")
kapt("androidx.room:room-compiler:2.6.0")
// DataStore
implementation("androidx.datastore:datastore-preferences:1.0.0")
// WorkManager
implementation("androidx.work:work-runtime-ktx:2.8.1")
implementation("androidx.hilt:hilt-work:1.1.0")
kapt("androidx.hilt:hilt-compiler:1.1.0")
// Biometric Authentication
implementation("androidx.biometric:biometric:1.1.0")
// File Management
implementation("com.github.bumptech.glide:glide:4.16.0")
implementation("androidx.documentfile:documentfile:1.0.1")
// Charts and UI
implementation("com.github.PhilJay:MPAndroidChart:v3.1.0")
implementation("com.airbnb.android:lottie-compose:6.1.0")
// Security
implementation("androidx.security:security-crypto:1.1.0-alpha06")
// WebRTC (for P2P sync)
implementation("org.webrtc:google-webrtc:1.0.32006")
// Permissions
implementation("com.google.accompanist:accompanist-permissions:0.32.0")
// System UI Controller
implementation("com.google.accompanist:accompanist-systemuicontroller:0.32.0")
// Testing
testImplementation("junit:junit:4.13.2")
testImplementation("org.mockito:mockito-core:5.6.0")
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3")
testImplementation("androidx.arch.core:core-testing:2.2.0")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation(platform("androidx.compose:compose-bom:2023.10.01"))
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")
}