diff --git a/health-services/ExerciseSampleCompose/app/proguard-rules.pro b/health-services/ExerciseSampleCompose/app/proguard-rules.pro index 08c33f63..82f2ad8a 100644 --- a/health-services/ExerciseSampleCompose/app/proguard-rules.pro +++ b/health-services/ExerciseSampleCompose/app/proguard-rules.pro @@ -33,3 +33,9 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +# Remove with WHS 1.1.0-alpha05 or later +# Ignore warnings of runtime only dependency +-keepclassmembers class * extends androidx.health.services.client.proto.GeneratedMessageLite { + ; +} diff --git a/health-services/ExerciseSampleCompose/gradle/libs.versions.toml b/health-services/ExerciseSampleCompose/gradle/libs.versions.toml index d18fa241..5541ad46 100644 --- a/health-services/ExerciseSampleCompose/gradle/libs.versions.toml +++ b/health-services/ExerciseSampleCompose/gradle/libs.versions.toml @@ -6,7 +6,7 @@ androidx-lifecycle = "2.8.6" androidx-wear-compose = "1.4.0" core-splashscreen = "1.0.1" dagger = "2.52" -health-services = "1.0.0-rc02" +health-services = "1.1.0-alpha04" horologist = "0.5.28" org-jetbrains-kotlin = "1.9.25" ui-test-junit4 = "1.7.3" diff --git a/health-services/ExerciseSampleCompose/settings.gradle b/health-services/ExerciseSampleCompose/settings.gradle index aca29a24..12411408 100644 --- a/health-services/ExerciseSampleCompose/settings.gradle +++ b/health-services/ExerciseSampleCompose/settings.gradle @@ -29,6 +29,10 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + // Use for testing of androidx snapshots +// maven { +// url = uri("https://androidx.dev/snapshots/builds/[build number]/artifacts/repository") +// } } }