Optimize release build APK size
please no new bugs prayge
This commit is contained in:
@@ -35,7 +35,7 @@ android {
|
|||||||
applicationIdSuffix = ".release"
|
applicationIdSuffix = ".release"
|
||||||
|
|
||||||
postprocessing {
|
postprocessing {
|
||||||
isRemoveUnusedCode = false
|
isRemoveUnusedCode = true
|
||||||
isObfuscate = false
|
isObfuscate = false
|
||||||
isOptimizeCode = false
|
isOptimizeCode = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ android {
|
|||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro"
|
"proguard-rules.pro"
|
||||||
)
|
)
|
||||||
|
consumerProguardFiles("proguard-rules.pro")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-1
@@ -18,4 +18,6 @@
|
|||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
-keep class com.google.** { *; }
|
||||||
@@ -20,6 +20,7 @@ android {
|
|||||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
"proguard-rules.pro"
|
"proguard-rules.pro"
|
||||||
)
|
)
|
||||||
|
consumerProguardFile("proguard-rules.pro")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-1
@@ -18,4 +18,6 @@
|
|||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
# If you keep the line number information, uncomment this to
|
||||||
# hide the original source file name.
|
# hide the original source file name.
|
||||||
#-renamesourcefileattribute SourceFile
|
#-renamesourcefileattribute SourceFile
|
||||||
|
|
||||||
|
-keep class com.microsoft.graph.requests.** { *; }
|
||||||
Reference in New Issue
Block a user