Skip to content

feat: allow disable minify when build debug package

Summary

This PR introduces a new feature that allows disabling minification during the build process specifically for debug packages.

Although enabling minification in debug packages can help identify potential minification errors, the approximately one-minute compilation time for each incremental build is impractical for development debugging purposes.

Additionally, to ensure compatibility with CI, the default behavior remains the same as before (enabling minify for debug builds), which also aids in identifying issues in CI versions.

Test Plan

  • Add a line disableMinifyDebug=true into local.properties.
  • Build debug variant
  • It shouldn't be minified

Merge request reports