fix(desktop): suppress Vico ColorScale ProGuard warnings#5232
Merged
jamesarich merged 1 commit intomainfrom Apr 23, 2026
Merged
fix(desktop): suppress Vico ColorScale ProGuard warnings#5232jamesarich merged 1 commit intomainfrom
jamesarich merged 1 commit intomainfrom
Conversation
Vico 3.2.0-next.1 ships ColorScaleShader/ColorScaleAreaFill/ColorScaleLineFill which reference CMP UI graphics members not present in compose-multiplatform 1.11.0-beta03 (LinearGradientShader-VjE6UOU$default on ShaderKt and Paint.setShader(org.jetbrains.skia.Shader)). ProGuard 7.7.0 aborts proguardReleaseJars with 'unresolved program class members' on every desktop release runner. We don't use the ColorScale APIs, so add targeted -dontwarn rules to let ProGuard finish. Remove once Vico ships against CMP 1.11 stable. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI
pushed a commit
that referenced
this pull request
Apr 24, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: garthvh <1795163+garthvh@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Desktop release builds (all 4 OS runners) have been failing on
:desktop:proguardReleaseJarssince Vico 3.2.0-next.1 (#5191).Vico's new
ColorScaleShader,ColorScaleAreaFill, andColorScaleLineFillreference CMP UI graphics members that don't exist in compose-multiplatform 1.11.0-beta03:androidx.compose.ui.graphics.ShaderKt.LinearGradientShader-VjE6UOU$default(...)androidx.compose.ui.graphics.Paint.setShader(org.jetbrains.skia.Shader)ProGuard 7.7.0 aborts with "unresolved program class members". We don't use those APIs, so suppress the warnings with targeted
-dontwarnrules.Verified locally:
./gradlew :desktop:proguardReleaseJarsnow succeeds.Failing run: https://github.com/meshtastic/Meshtastic-Android/actions/runs/24834405448