plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("org.jetbrains.kotlin.plugin.compose") id("com.google.devtools.ksp") } android { namespace = "uk.silverlabs.silverdroid" compileSdk = 35 defaultConfig { applicationId = "uk.silverlabs.silverdroid" minSdk = 26 targetSdk = 35 versionCode = 1 versionName = "1.0.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables { useSupportLibrary = true } } signingConfigs { create("release") { // Using debug keystore for now - replace with your own keystore storeFile = file("${System.getProperty("user.home")}/.android/debug.keystore") storePassword = "android" keyAlias = "androiddebugkey" keyPassword = "android" } } buildTypes { debug { signingConfig = signingConfigs.getByName("debug") } release { isMinifyEnabled = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) signingConfig = signingConfigs.getByName("release") } } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = "17" } buildFeatures { compose = true } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } } } dependencies { // Core Android implementation("androidx.core:core-ktx:1.15.0") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7") implementation("androidx.activity:activity-compose:1.9.3") // Compose BOM and UI implementation(platform("androidx.compose:compose-bom:2025.01.00")) 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") // Compose Navigation implementation("androidx.navigation:navigation-compose:2.8.5") // WebView implementation("androidx.webkit:webkit:1.12.1") // Room Database implementation("androidx.room:room-runtime:2.6.1") implementation("androidx.room:room-ktx:2.6.1") ksp("androidx.room:room-compiler:2.6.1") // Coroutines implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1") // DataStore (for preferences) implementation("androidx.datastore:datastore-preferences:1.1.1") // JSON parsing implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0") // Coil for image loading implementation("io.coil-kt.coil3:coil-compose:3.0.4") implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.4") // Blur effect library implementation("com.github.Dimezis:BlurView:version-2.0.5") // Testing testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.2.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") androidTestImplementation(platform("androidx.compose:compose-bom:2025.01.00")) androidTestImplementation("androidx.compose.ui:ui-test-junit4") debugImplementation("androidx.compose.ui:ui-tooling") debugImplementation("androidx.compose.ui:ui-test-manifest") }