This commit is contained in:
mac
2026-02-22 21:08:44 -05:00
parent 26330349c6
commit df1188fc02
5 changed files with 21 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ plugins {
android {
namespace = "com.example.scanwich"
compileSdk = 35
compileSdk = 36
defaultConfig {
applicationId = "com.example.scanwich"
@@ -32,9 +32,9 @@ android {
getByName("debug") {
storeFile = file(System.getProperty("user.home") + "/.android/debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
getByName("debug").storePassword = "android"
getByName("debug").keyAlias = "androiddebugkey"
getByName("debug").keyPassword = "android"
}
create("release") {
@@ -46,6 +46,8 @@ android {
}
buildTypes {
val keyFile = project.file("firebase-key.json")
release {
isMinifyEnabled = false
signingConfig = signingConfigs.getByName("release")
@@ -56,12 +58,21 @@ android {
configure<com.google.firebase.appdistribution.gradle.AppDistributionExtension> {
artifactType = "APK"
if (keyFile.exists()) {
serviceCredentialsFile = keyFile.absolutePath
}
groups = "internal-user"
}
}
debug {
configure<com.google.firebase.appdistribution.gradle.AppDistributionExtension> {
artifactType = "APK"
if (keyFile.exists()) {
serviceCredentialsFile = keyFile.absolutePath
}
groups = "internal-user"
releaseNotes = "Version de développement"
}
}
}
@@ -88,10 +99,10 @@ dependencies {
implementation(libs.androidx.compose.ui.graphics)
implementation(libs.androidx.compose.ui.tooling.preview)
implementation(libs.androidx.compose.material3)
implementation(libs.androidx.compose.material.icons.extended)
implementation(libs.google.generativeai)
implementation(libs.coil.compose)
implementation(libs.androidx.exifinterface)
implementation(libs.androidx.navigation.compose)
implementation(libs.androidx.room.runtime)