feat(CON-166) : Mettre en place le projet

This commit is contained in:
2024-12-10 08:26:30 +01:00
parent a34877145a
commit 61ad631f28
57 changed files with 1271 additions and 1 deletions

85
gradle/libs.versions.toml Normal file
View File

@ -0,0 +1,85 @@
[versions]
# Android
compileSdk = "34"
targetSdk = "34"
minSdk = "24"
# AndroidX
coreKtx = "1.13.1"
activityCompose = "1.9.3"
appcompat = "1.7.0"
# Lifecycle
lifecycle = "2.8.7"
# Hilt
hilt = "2.50"
hiltNavigation = "1.2.0"
# Compose
composeBom = "2024.11.00"
# Timber
timber = "5.0.1"
# Material
material = "1.12.0"
# Test
junit = "4.13.2"
espressoCore = "3.6.1"
junitExtVersion = "1.2.1"
# Plugins
agp = "8.7.3"
kotlin = "2.0.0"
ksp = "2.0.0-1.0.23"
junitVersion = "1.2.1"
[libraries]
# AndroidX
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
# Lifecycle
androidx-lifecycle-runtime = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" }
androidx-lifecycle-viewmodel = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle" }
androidx-lifecycle-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycle" }
# Hilt
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigation" }
# Timber
timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
# Compose
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
compose-ui = { module = "androidx.compose.ui:ui" }
compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
compose-material3 = { group = "androidx.compose.material3", name = "material3" }
# Material
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
# Test
test-junit = { group = "junit", name = "junit", version.ref = "junit" }
test-androidx-junit = { group = "androidx.test.ext", name = "junit-ktx", version.ref = "junitExtVersion" }
test-espresso = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
android-library = { id = "com.android.library", version.ref = "agp" }
[bundles]
androidx = ["androidx-core-ktx", "androidx-activity-compose"]
compose = ["compose-ui", "compose-ui-graphics", "compose-ui-tooling", "compose-material3"]

BIN
gradle/wrapper/gradle-wrapper.jar vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,6 @@
#Mon Dec 09 14:35:54 CET 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists