mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Revert "diag(r8): disable minify for release builds (animation-freeze diagnostic)" (#5176)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: jamesarich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
84551985bf
commit
7207ab3345
1 changed files with 2 additions and 16 deletions
|
|
@ -41,22 +41,8 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
|
|||
|
||||
buildTypes {
|
||||
getByName("release") {
|
||||
// DIAGNOSTIC BUILD (internal.60): R8 is fully disabled to prove
|
||||
// whether the Compose animation freeze observed since CMP 1.11.0-beta02
|
||||
// is caused by R8 (shrinking / consumer-rule -assumenosideeffects /
|
||||
// resource shrinking) or by a CMP runtime bug independent of R8.
|
||||
//
|
||||
// - If animations work in this build → R8 is the cause; follow up with
|
||||
// a narrower diag (weaken Compose -keep rules to allow class-merging,
|
||||
// or toggle isShrinkResources only).
|
||||
// - If animations remain frozen → R8 is innocent; the bug is in
|
||||
// compose-multiplatform 1.11.0-beta02 itself. File upstream and
|
||||
// downgrade / pin.
|
||||
//
|
||||
// REVERT once the diagnostic is concluded — release builds MUST ship
|
||||
// with R8 enabled.
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
rootProject.file("config/proguard/shared-rules.pro"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue