plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("org.jetbrains.kotlin.plugin.compose") id("org.jetbrains.kotlin.plugin.serialization") } android { // applicationId chosen by the lead: aligns with the main TimeCredit Android app // (namespace app.timecredit). Permanent once published to the Play Store. namespace = "app.timecredit.quiz" compileSdk = 35 defaultConfig { applicationId = "app.timecredit.quiz" minSdk = 26 targetSdk = 35 versionCode = 1 versionName = "1.0" } buildTypes { release { isMinifyEnabled = false isShrinkResources = false } } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } buildFeatures { compose = true } // JSON packs are already compressed enough; keep them uncompressed for fast mmap reads. androidResources { noCompress += "json" } } dependencies { implementation("androidx.activity:activity-compose:1.9.3") implementation("androidx.core:core-ktx:1.13.1") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.6") implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0") // Content + i18n decoding (mirrors iOS Codable). implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") implementation(platform("androidx.compose:compose-bom:2024.10.00")) implementation("androidx.compose.foundation:foundation") implementation("androidx.compose.material3:material3") implementation("androidx.compose.material:material-icons-extended") implementation("androidx.compose.ui:ui") implementation("androidx.compose.ui:ui-tooling-preview") debugImplementation("androidx.compose.ui:ui-tooling") // Belt pictos are shared SVGs copied as-is from iOS; Coil-SVG renders them from assets // so the app stays a pure consumer of the shared artwork (no conversion / no edits). implementation("io.coil-kt:coil-compose:2.7.0") implementation("io.coil-kt:coil-svg:2.7.0") }