diff --git a/phone/app/build.gradle.kts b/phone/app/build.gradle.kts index 654ff4a..6363914 100644 --- a/phone/app/build.gradle.kts +++ b/phone/app/build.gradle.kts @@ -74,9 +74,9 @@ android { dependencies { implementation("androidx.core:core-ktx:1.13.1") - implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.4") - implementation("androidx.activity:activity-compose:1.9.1") - implementation(platform("androidx.compose:compose-bom:2024.08.00")) + implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.11.0") + implementation("androidx.activity:activity-compose:1.13.0") + implementation(platform("androidx.compose:compose-bom:2026.06.01")) implementation("androidx.compose.ui:ui") implementation("androidx.compose.ui:ui-graphics") implementation("androidx.compose.ui:ui-tooling-preview") @@ -97,7 +97,7 @@ dependencies { // implementation("com.patrykandpatrick.vico:compose-m3:1.13.1") // Lifecycle ViewModel Compose - implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.4") + implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.11.0") // HMS Wear Engine (real P2P communication) implementation("com.huawei.hms:wearengine:5.0.1.300") @@ -105,7 +105,7 @@ dependencies { testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test.ext:junit:1.2.1") androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1") - androidTestImplementation(platform("androidx.compose:compose-bom:2024.08.00")) + androidTestImplementation(platform("androidx.compose:compose-bom:2026.06.01")) androidTestImplementation("androidx.compose.ui:ui-test-junit4") debugImplementation("androidx.compose.ui:ui-tooling") debugImplementation("androidx.compose.ui:ui-test-manifest") diff --git a/phone/build.gradle.kts b/phone/build.gradle.kts index 5fd858c..d09c7c7 100644 --- a/phone/build.gradle.kts +++ b/phone/build.gradle.kts @@ -1,6 +1,6 @@ plugins { id("com.android.application") version "8.5.2" apply false id("org.jetbrains.kotlin.android") version "2.0.20" apply false - id("org.jetbrains.kotlin.plugin.compose") version "2.0.20" apply false + id("org.jetbrains.kotlin.plugin.compose") version "2.4.0" apply false id("com.google.devtools.ksp") version "2.0.20-1.0.25" apply false }