Compare commits

...

1 Commits

Author SHA1 Message Date
b3b2e8681a ajout dépendances crashlytics g4A, clarity 2024-12-11 17:21:43 +01:00
3 changed files with 36 additions and 9 deletions

View File

@ -60,7 +60,10 @@ android {
isShrinkResources = true isShrinkResources = true
signingConfig = signingConfigs.getByName(BuildType.RELEASE.name) signingConfig = signingConfigs.getByName(BuildType.RELEASE.name)
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
} }
} }
compileOptions { compileOptions {
@ -92,6 +95,9 @@ dependencies {
ksp(libs.hilt.compiler) ksp(libs.hilt.compiler)
implementation(libs.hilt.navigation.compose) implementation(libs.hilt.navigation.compose)
implementation(libs.matomo) implementation(libs.matomo)
implementation(libs.clarity)
implementation(libs.ga4)
// Compose // Compose
implementation(platform(libs.compose.bom)) implementation(platform(libs.compose.bom))

View File

@ -15,12 +15,17 @@ plugins {
// Agp // Agp
alias(libs.plugins.android.library) apply false alias(libs.plugins.android.library) apply false
//Hilt // Hilt
alias(libs.plugins.hilt) apply false alias(libs.plugins.hilt) apply false
// Kotlin serialization
//Kotlin serialization
alias(libs.plugins.kotlin.serialization) apply false alias(libs.plugins.kotlin.serialization) apply false
// Firebase crashlytics
alias(libs.plugins.firebaseCrashlytics) apply false
// Google services
alias(libs.plugins.googleServices) apply false
} }

View File

@ -39,6 +39,7 @@ agp = "8.7.3"
kotlin = "2.0.0" kotlin = "2.0.0"
ksp = "2.0.0-1.0.23" ksp = "2.0.0-1.0.23"
junitVersion = "1.2.1" junitVersion = "1.2.1"
googleServicesPlugin = "4.4.2"
# Matomo # Matomo
matomo = "4.3" matomo = "4.3"
@ -46,9 +47,18 @@ matomo = "4.3"
# Serialization # Serialization
serialization = "1.7.1" serialization = "1.7.1"
# Compose navigation
navigationCompose = "2.8.2" navigationCompose = "2.8.2"
# Crashlytics
firebaseCrashlyticsPlugin = "3.0.2"
firebaseCrashlyticsKtx = "19.2.0"
# Clarity
clarityVersion = "1.3.2"
# GA4
ga4 = "22.1.2"
[libraries] [libraries]
@ -80,9 +90,6 @@ compose-material3 = { group = "androidx.compose.material3", name = "material3" }
# Material # Material
material = { group = "com.google.android.material", name = "material", version.ref = "material" } material = { group = "com.google.android.material", name = "material", version.ref = "material" }
# Matomo
matomo = { module = "com.github.matomo-org:matomo-sdk-android", version.ref = "matomo" }
# Kotlin serizalization # Kotlin serizalization
kotlin-serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" } kotlin-serialization = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "serialization" }
@ -100,6 +107,15 @@ test-androidx-junit = { group = "androidx.test.ext", name = "junit-ktx", version
test-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } test-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" } androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
# Matomo
matomo = { module = "com.github.matomo-org:matomo-sdk-android", version.ref = "matomo" }
# Clarity
clarity = { group = "com.microsoft.clarity", name = "clarity", version.ref = "clarityVersion" }
# GA4 (Firebase Analytics)
ga4 = { module = "com.google.firebase:firebase-analytics", version.ref = "ga4" }
[plugins] [plugins]
android-application = { id = "com.android.application", version.ref = "agp" } android-application = { id = "com.android.application", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
@ -108,8 +124,8 @@ ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
android-library = { id = "com.android.library", version.ref = "agp" } android-library = { id = "com.android.library", version.ref = "agp" }
hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
firebaseCrashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebaseCrashlyticsPlugin" }
googleServices = { id = "com.google.gms.google-services", version.ref = "googleServicesPlugin" }
[bundles] [bundles]
androidx = ["androidx-core-ktx", "androidx-activity-compose"] androidx = ["androidx-core-ktx", "androidx-activity-compose"]