From 8764b10b62228cc021448ec2791179b7e56067f2 Mon Sep 17 00:00:00 2001 From: Yuri Schimke Date: Thu, 17 Oct 2024 09:37:11 +0100 Subject: [PATCH] Testing of WHS 1.1.0-alpha04 --- .../ExerciseSampleCompose/app/proguard-rules.pro | 6 ++++++ .../ExerciseSampleCompose/gradle/libs.versions.toml | 2 +- health-services/ExerciseSampleCompose/settings.gradle | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) 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") +// } } }