import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { alias(libs.plugins.androidApplication) alias(libs.plugins.composeMultiplatform) alias(libs.plugins.composeCompiler) // Used for App Distribution alias(libs.plugins.googleServices) apply false } // Apply Google Services only when the Firebase config is present: google-services.json is not // tracked in git (see google-services.example.json), so builds must work without it. if (file("google-services.json").exists()) { apply(plugin = libs.plugins.googleServices.get().pluginId) } kotlin { compilerOptions { jvmTarget = JvmTarget.JVM_11 } } dependencies { implementation(projects.shared) // Compose implementation(libs.androidx.activity.compose) implementation(libs.compose.uiToolingPreview) debugImplementation(libs.compose.uiTooling) // Crash logging implementation(libs.glitchtips) } android { namespace = "fr.ajaury.gwenedeg" compileSdk = libs.versions.androidCompileSdk .get() .toInt() defaultConfig { applicationId = "fr.ajaury.gwenedeg" minSdk = libs.versions.androidMinSdk .get() .toInt() targetSdk = libs.versions.androidTargetSdk .get() .toInt() versionCode = 1 versionName = "1.0" } packaging { resources { excludes += "/META-INF/{AL2.0,LGPL2.1}" } } buildTypes { getByName("release") { isMinifyEnabled = false } } compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } }