summaryrefslogtreecommitdiff
path: root/src/android/app/build.gradle.kts
diff options
context:
space:
mode:
authorGravatar Charles Lombardo2023-04-15 00:09:30 -0400
committerGravatar bunnei2023-06-03 00:05:52 -0700
commitd57ae50f17a6b2ed12e188cd3764c506dcc86b74 (patch)
tree650bce03cb9f261ca0a26cb21c0a31e3bd2b803f /src/android/app/build.gradle.kts
parentandroid: Switch from a colored status bar to a custom view (diff)
downloadyuzu-d57ae50f17a6b2ed12e188cd3764c506dcc86b74.tar.gz
yuzu-d57ae50f17a6b2ed12e188cd3764c506dcc86b74.tar.xz
yuzu-d57ae50f17a6b2ed12e188cd3764c506dcc86b74.zip
android: Enable code minification
Diffstat (limited to 'src/android/app/build.gradle.kts')
-rw-r--r--src/android/app/build.gradle.kts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index d8ef02ac1..bf6d42042 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -78,6 +78,12 @@ android {
78 // Signed by release key, allowing for upload to Play Store. 78 // Signed by release key, allowing for upload to Play Store.
79 release { 79 release {
80 signingConfig = signingConfigs.getByName("debug") 80 signingConfig = signingConfigs.getByName("debug")
81 isMinifyEnabled = true
82 isDebuggable = false
83 proguardFiles(
84 getDefaultProguardFile("proguard-android.txt"),
85 "proguard-rules.pro"
86 )
81 } 87 }
82 88
83 // builds a release build that doesn't need signing 89 // builds a release build that doesn't need signing
@@ -86,7 +92,6 @@ android {
86 initWith(getByName("release")) 92 initWith(getByName("release"))
87 versionNameSuffix = "-debug" 93 versionNameSuffix = "-debug"
88 signingConfig = signingConfigs.getByName("debug") 94 signingConfig = signingConfigs.getByName("debug")
89 isMinifyEnabled = false
90 enableAndroidTestCoverage = false 95 enableAndroidTestCoverage = false
91 isDebuggable = true 96 isDebuggable = true
92 isJniDebuggable = true 97 isJniDebuggable = true