// core-crash — privacy-respecting, on-device crash capture + a report dialog and // issue-tracker hand-off, shared across the family. The reusable machinery lives // here; each app keeps a thin themed CrashReportActivity and supplies a // [CrashConfig] (app label + issue-tracker URLs) at install time. // // First Android-library module in the kit. Deliberately lean: Compose + core-ktx // only, no buildConfig, no extra-icons dependency. plugins { // AGP 9.x provides built-in Kotlin compilation, so only the Compose plugin is // applied alongside the Android library plugin (matches the apps' setup). alias(libs.plugins.android.library) alias(libs.plugins.kotlin.compose) } android { namespace = "de.jeanlucmakiola.floret.crash" compileSdk = 37 defaultConfig { minSdk = 29 } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } buildFeatures { compose = true } testOptions { unitTests { all { it.useJUnitPlatform() } isReturnDefaultValues = true } } } kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 } } dependencies { implementation(libs.androidx.core.ktx) implementation(platform(libs.androidx.compose.bom)) implementation(libs.androidx.ui) implementation(libs.androidx.foundation) implementation(libs.androidx.material3) testImplementation(libs.junit.jupiter.api) testRuntimeOnly(libs.junit.jupiter.engine) testRuntimeOnly(libs.junit.platform.launcher) testImplementation(libs.truth) }