ajout dépendances crashlytics ga4, clarity #5
@ -8,7 +8,7 @@ plugins {
|
|||||||
alias(libs.plugins.kotlin.android)
|
alias(libs.plugins.kotlin.android)
|
||||||
alias(libs.plugins.kotlin.compose)
|
alias(libs.plugins.kotlin.compose)
|
||||||
alias(libs.plugins.hilt)
|
alias(libs.plugins.hilt)
|
||||||
alias(libs.plugins.kotlin.serialization)
|
alias(libs.plugins.serialization)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -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))
|
||||||
|
@ -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
|
||||||
|
alias(libs.plugins.serialization) apply false
|
||||||
|
|
||||||
//Kotlin serialization
|
// Firebase crashlytics
|
||||||
alias(libs.plugins.kotlin.serialization) apply false
|
alias(libs.plugins.firebaseCrashlytics) apply false
|
||||||
|
|
||||||
|
// Google services
|
||||||
|
alias(libs.plugins.googleServices) apply false
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
@ -45,7 +45,7 @@ dependencies {
|
|||||||
ksp(libs.hilt.compiler)
|
ksp(libs.hilt.compiler)
|
||||||
|
|
||||||
// Serialization
|
// Serialization
|
||||||
implementation(libs.serializationJson)
|
implementation(libs.kotlin.serialization)
|
||||||
|
|
||||||
// Retrofit
|
// Retrofit
|
||||||
api(libs.retrofit)
|
api(libs.retrofit)
|
||||||
|
@ -50,16 +50,23 @@ 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"
|
||||||
|
|
||||||
# Serialization
|
# Compose navigation
|
||||||
serialization = "1.7.1"
|
|
||||||
|
|
||||||
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]
|
||||||
|
|
||||||
@ -91,9 +98,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" }
|
||||||
|
|
||||||
@ -105,9 +109,6 @@ androidx-navigation-compose = { group = "androidx.navigation", name = "navigatio
|
|||||||
# Preferences DataStore
|
# Preferences DataStore
|
||||||
preferencesDataStore = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "preferencesDataStore" }
|
preferencesDataStore = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "preferencesDataStore" }
|
||||||
|
|
||||||
# Json serialization
|
|
||||||
serializationJson = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "jsonSerialization" }
|
|
||||||
|
|
||||||
# Retrofit
|
# Retrofit
|
||||||
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
|
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
|
||||||
retrofitConverter = { group = "com.squareup.retrofit2", name = "converter-kotlinx-serialization", version.ref = "retrofit" }
|
retrofitConverter = { group = "com.squareup.retrofit2", name = "converter-kotlinx-serialization", version.ref = "retrofit" }
|
||||||
@ -123,6 +124,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" }
|
||||||
@ -131,6 +141,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" }
|
||||||
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization" }
|
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization" }
|
||||||
|
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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user