Skip to content

build(desktop): enable ProGuard for release builds#4772

Merged
jamesarich merged 1 commit intomainfrom
feat/desktop-proguard
Mar 13, 2026
Merged

build(desktop): enable ProGuard for release builds#4772
jamesarich merged 1 commit intomainfrom
feat/desktop-proguard

Conversation

@jamesarich
Copy link
Copy Markdown
Collaborator

This commit enables ProGuard for the desktop module's release build configuration and introduces a rules file to suppress common build warnings.

Specific changes include:

  • Updated desktop/build.gradle.kts to include proguard-rules.pro in the release build type configuration.
  • Created desktop/proguard-rules.pro with -dontwarn rules for Android-specific classes (Parcel, Parcelable, AndroidMessage) and io.ktor to prevent build failures during the shrinking phase.

This commit enables ProGuard for the desktop module's release build configuration and introduces a rules file to suppress common build warnings.

Specific changes include:
- Updated `desktop/build.gradle.kts` to include `proguard-rules.pro` in the release build type configuration.
- Created `desktop/proguard-rules.pro` with `-dontwarn` rules for Android-specific classes (`Parcel`, `Parcelable`, `AndroidMessage`) and `io.ktor` to prevent build failures during the shrinking phase.

Signed-off-by: James Rich <[email protected]>
@jamesarich jamesarich merged commit 87e291f into main Mar 13, 2026
4 checks passed
@github-actions github-actions bot added the enhancement New feature or request label Mar 13, 2026
@jamesarich jamesarich deleted the feat/desktop-proguard branch March 13, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant