perf: enable R8 code and resource shrinking without obfuscation

This commit is contained in:
LZX committed 2026-11-08 15:44:03 +08:00
1 parent 17a0fd9367
commit d6fc15526c
2 files changed
+17 -21

No files matched your search

+4 -3
View File
@@ -11,8 +11,8 @@ android {
applicationId = "com.lzxnone.tailscalemanager"
minSdk = 28
targetSdk = 36
versionCode = 100
versionName = "1.0.0"
versionCode = 101
versionName = "1.0.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@@ -31,7 +31,8 @@ android {
buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
isShrinkResources = true
if (keystoreFile.exists()) {
signingConfig = signingConfigs.getByName("release")
}