mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Enable minify optimizations for release builds (#1437)
## Description Enables minify & resource shrinking for release builds. This should improve overall performance a bit. It also decreases the apk size by ~15%. Also updates AGP ### Related issues N/A ### Testing Emulator, but needs more testing before a final release ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
086badf2e2
commit
bfb49b80be
6 changed files with 27 additions and 21 deletions
|
|
@ -82,7 +82,8 @@ configure<ApplicationExtension> {
|
|||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro",
|
||||
|
|
@ -105,6 +106,7 @@ configure<ApplicationExtension> {
|
|||
|
||||
debug {
|
||||
isMinifyEnabled = false
|
||||
isShrinkResources = false
|
||||
isDebuggable = true
|
||||
applicationIdSuffix = ".debug"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue