@@ -11,33 +11,33 @@ plugins {
1111}
1212
1313dependencies {
14- val composeVersion = " 1.7.7 "
15- val livecycleVersion = " 2.8.7"
16- val androidXActivityVersion = " 1.10.0 "
14+ val composeVersion = " 1.8.2 "
15+ val livecycleVersion = " 2.8.7" // Update requires Kotlin 2.
16+ val androidXActivityVersion = " 1.10.1 "
1717
1818 api(project(" :libs:SalesforceAnalytics" ))
1919 api(" com.squareup.okhttp3:okhttp:4.12.0" )
20- api(" com.google.firebase:firebase-messaging:24.1.0 " )
21- api(" androidx.core:core:1.15 .0" )
20+ api(" com.google.firebase:firebase-messaging:24.1.1 " )
21+ api(" androidx.core:core:1.16 .0" )
2222 api(" androidx.browser:browser:1.8.0" )
23- api(" androidx.work:work-runtime-ktx:2.10.0 " )
23+ api(" androidx.work:work-runtime-ktx:2.10.1 " )
2424
2525 implementation(" com.google.android.material:material:1.12.0" ) // remove this when all xml is gone
26- implementation(" androidx.appcompat:appcompat:1.7.0 " )
26+ implementation(" androidx.appcompat:appcompat:1.7.1 " )
2727 implementation(" androidx.biometric:biometric:1.2.0-alpha05" )
2828 implementation(" androidx.lifecycle:lifecycle-extensions:2.2.0" )
29- implementation(" androidx.core:core-ktx:1.15 .0" )
29+ implementation(" androidx.core:core-ktx:1.16 .0" )
3030 implementation(" androidx.activity:activity-ktx:$androidXActivityVersion " )
3131 implementation(" androidx.activity:activity-compose:$androidXActivityVersion " )
3232 implementation(" androidx.lifecycle:lifecycle-viewmodel-ktx:$livecycleVersion " )
3333 implementation(" androidx.lifecycle:lifecycle-viewmodel-compose:$livecycleVersion " )
3434 implementation(" androidx.lifecycle:lifecycle-viewmodel-savedstate:$livecycleVersion " )
3535 implementation(" androidx.lifecycle:lifecycle-service:$livecycleVersion " )
36- implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" )
37- implementation(" androidx.window:window:1.3 .0" )
38- implementation(" androidx.window:window-core:1.3 .0" )
39- implementation(" androidx.compose.material3:material3-android:1.3.1 " )
40- implementation(platform(" androidx.compose:compose-bom:2025.01.01 " ))
36+ implementation(" org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3" ) // Update requires Kotlin 2.
37+ implementation(" androidx.window:window:1.4 .0" )
38+ implementation(" androidx.window:window-core:1.4 .0" )
39+ implementation(" androidx.compose.material3:material3-android:1.3.2 " )
40+ implementation(platform(" androidx.compose:compose-bom:2025.06.00 " ))
4141 implementation(" androidx.compose.foundation:foundation-android:$composeVersion " )
4242 implementation(" androidx.compose.runtime:runtime-livedata:$composeVersion " )
4343 implementation(" androidx.compose.ui:ui-tooling-preview-android:$composeVersion " )
@@ -114,6 +114,7 @@ android {
114114 compose = true
115115 }
116116
117+ @Suppress(" UnstableApiUsage" )
117118 composeOptions {
118119 kotlinCompilerExtensionVersion = " 1.5.14"
119120 }
@@ -130,7 +131,7 @@ android {
130131 }
131132
132133 sourceDirectories.setFrom(" ${project.projectDir} /src/main/java" )
133- val fileFilter = arrayListOf (" **/R.class" , " **/R\ $ *.class" , " **/BuildConfig.*" , " **/Manifest*.*" , " **/*Test*.*" , " android/**/*.*" )
134+ val fileFilter = arrayListOf (" **/R.class" , " **/R$*.class" , " **/BuildConfig.*" , " **/Manifest*.*" , " **/*Test*.*" , " android/**/*.*" )
134135 val javaTree = fileTree(" ${project.projectDir} /build/intermediates/javac/debug" ) { setExcludes(fileFilter) }
135136 val kotlinTree = fileTree(" ${project.projectDir} /build/tmp/kotlin-classes/debug" ) { setExcludes(fileFilter) }
136137 classDirectories.setFrom(javaTree, kotlinTree)
0 commit comments