11plugins {
22 id ' com.android.application'
33 id ' org.jetbrains.kotlin.android'
4+ id ' org.jetbrains.kotlin.plugin.compose' version ' 2.2.0'
45 id ' com.google.gms.google-services'
56 id " com.google.devtools.ksp"
67 id " org.sonarqube" version " 4.2.1.3168"
@@ -26,6 +27,8 @@ android {
2627 namespace ' com.xpeho.xpeapp'
2728 compileSdk 36
2829
30+ ndkVersion ' 28.2.13676358'
31+
2932 defaultConfig {
3033 applicationId " com.xpeho.xpeapp"
3134 minSdk 26
@@ -39,6 +42,12 @@ android {
3942 }
4043 }
4144
45+ packagingOptions {
46+ jniLibs {
47+ useLegacyPackaging = false
48+ }
49+ }
50+
4251 testOptions {
4352 unitTests. all {
4453 jacoco {
@@ -80,10 +89,9 @@ android {
8089 }
8190 buildFeatures {
8291 compose true
83- buildConfig = true
92+ buildConfig = true // déplacé depuis gradle.properties
8493 }
8594 composeOptions {
86- kotlinCompilerExtensionVersion = ' 1.5.1'
8795 }
8896 packagingOptions {
8997 resources {
@@ -153,68 +161,68 @@ sonar {
153161}
154162
155163dependencies {
156-
157- implementation ' androidx.core:core-ktx:1.13.1 '
158- implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.8.6 '
159- implementation ' androidx.activity:activity-compose:1.9.2 '
160- implementation " androidx.compose.ui:ui:$c ompose_ui_version "
161- implementation " androidx.compose.ui:ui-tooling-preview:$c ompose_ui_version "
162- implementation(" androidx.compose.material3:material3-android:1.3.0 " )
164+ implementation( ' org.jetbrains.kotlin:kotlin-stdlib:2.2.0 ' )
165+ implementation ' androidx.core:core-ktx:1.17.0 '
166+ implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.9.4 '
167+ implementation ' androidx.activity:activity-compose:1.11.0 '
168+ implementation " androidx.compose.ui:ui:1.9.2 "
169+ implementation " androidx.compose.ui:ui-tooling-preview:1.9.2 "
170+ implementation(' androidx.compose.material3:material3-android:1.4.0 ' )
163171 implementation(" androidx.core:core-splashscreen:1.0.1" )
164- implementation ' androidx.core:core-ktx:1.13.1 '
165- implementation ' androidx.constraintlayout:constraintlayout-compose:1.0 .1'
172+ implementation ' androidx.core:core-ktx:1.17.0 '
173+ implementation ' androidx.constraintlayout:constraintlayout-compose:1.1 .1'
166174 implementation " androidx.compose.material:material-icons-core:1.7.3"
167- implementation " androidx.compose.material:material-icons-extended:1.7.3 "
168- implementation " androidx.compose.animation:animation-core:$c ompose_ui_version "
169- implementation ' androidx.fragment:fragment:1.3.0 '
175+ implementation ' androidx.compose.material:material-icons-extended:1.7.8 '
176+ implementation " androidx.compose.animation:animation-core:1.9.2 "
177+ implementation ' androidx.fragment:fragment:1.8.9 '
170178
171179 // Test
172180 implementation ' androidx.lifecycle:lifecycle-runtime-compose:2.8.6'
173181 testImplementation ' junit:junit:4.13.2'
174- testImplementation " io.mockk:mockk:1.13.13 "
182+ testImplementation ' io.mockk:mockk:1.14.5 '
175183
176184 // Android Test
177- androidTestImplementation ' androidx.test.ext:junit:1.2.1 '
178- androidTestImplementation ' androidx.test.espresso:espresso-core:3.6.1 '
179- androidTestImplementation " androidx.compose.ui:ui-test-junit4:$c ompose_ui_version "
185+ androidTestImplementation ' androidx.test.ext:junit:1.3.0 '
186+ androidTestImplementation ' androidx.test.espresso:espresso-core:3.7.0 '
187+ androidTestImplementation " androidx.compose.ui:ui-test-junit4:1.9.2 "
180188
181189 // Debug implementation
182- debugImplementation " androidx.compose.ui:ui-tooling:$c ompose_ui_version "
183- debugImplementation " androidx.compose.ui:ui-test-manifest:$c ompose_ui_version "
190+ debugImplementation " androidx.compose.ui:ui-tooling:1.9.2 "
191+ debugImplementation " androidx.compose.ui:ui-test-manifest:1.9.2 "
184192
185193 // Import the BoM for the Firebase platform
186- implementation platform(" com.google.firebase:firebase-bom:33.4.0 " )
194+ implementation platform(' com.google.firebase:firebase-bom:34.3.0 ' )
187195
188196 // Firebase
189- implementation(" com.google.firebase:firebase-auth-ktx" )
190- implementation ' com.google.firebase:firebase-firestore-ktx:25.1.0 '
191- implementation ' com.google.firebase:firebase-messaging:24 .0.2 '
192- implementation ' com.google.firebase:firebase-storage-ktx:21.0.1 '
197+ implementation(" com.google.firebase:firebase-auth-ktx:22.3.0 " )
198+ implementation ' com.google.firebase:firebase-firestore-ktx:25.1.4 '
199+ implementation ' com.google.firebase:firebase-messaging:25 .0.1 '
200+ implementation ' com.google.firebase:firebase-storage-ktx:21.0.2 '
193201 implementation " com.google.firebase:firebase-analytics"
194202
195203 // Navigation
196- implementation " androidx.navigation:navigation-compose:2.8.2 "
204+ implementation ' androidx.navigation:navigation-compose:2.9.5 '
197205
198206 // Use Json
199- implementation " com.google.code.gson:gson:2.10.1 "
207+ implementation ' com.google.code.gson:gson:2.13.2 '
200208
201209 // ViewModel
202- implementation " androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6 "
210+ implementation ' androidx.lifecycle:lifecycle-viewmodel-compose:2.9.4 '
203211
204212 // Retrofit for http requests
205- implementation " com.squareup.retrofit2:retrofit:2.9.0 "
206- implementation " com.squareup.retrofit2:converter-gson:2.9.0 "
207- implementation ' com.squareup.okhttp3:logging-interceptor:4.9.1 '
208- implementation ' com.squareup.okhttp3:okhttp:4.9.3 '
213+ implementation ' com.squareup.retrofit2:retrofit:3.0.0 '
214+ implementation ' com.squareup.retrofit2:converter-gson:3.0.0 '
215+ implementation ' com.squareup.okhttp3:logging-interceptor:5.1.0 '
216+ implementation ' com.squareup.okhttp3:okhttp:5.1.0 '
209217
210218 // Local data storage
211- implementation " androidx.datastore:datastore-preferences:1.1.1 "
219+ implementation ' androidx.datastore:datastore-preferences:1.1.7 '
212220 implementation " androidx.security:security-crypto:1.0.0"
213221 implementation " androidx.security:security-identity-credential:1.0.0-alpha03"
214222
215223 // Notifications
216- implementation(" com.google.accompanist:accompanist-systemuicontroller:0.27.0 " )
217- implementation(" com.google.accompanist:accompanist-permissions:0.31.1-alpha " )
224+ implementation(' com.google.accompanist:accompanist-systemuicontroller:0.36.0 ' )
225+ implementation(' com.google.accompanist:accompanist-permissions:0.37.3 ' )
218226
219227 // XpehoUI
220228 implementation " com.xpeho.packages:xpeho_ui_android:1.7.0"
0 commit comments