forked from upstream-mirrors/quik
Enable proguard for release builds
This commit is contained in:
+2
-1
@@ -28,7 +28,8 @@ android {
|
|||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+7
-23
@@ -1,25 +1,9 @@
|
|||||||
# Add project specific ProGuard rules here.
|
-dontobfuscate
|
||||||
# By default, the flags in this file are appended to flags specified
|
|
||||||
# in /Users/moez/Library/Android/sdk/tools/proguard/proguard-android.txt
|
|
||||||
# You can edit the include path and order by changing the proguardFiles
|
|
||||||
# directive in build.gradle.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
# android-smsmms
|
||||||
|
# -keep class android.net.** { *; }
|
||||||
|
-dontwarn android.net.ConnectivityManager
|
||||||
|
-dontwarn android.net.LinkProperties
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
# okio
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
-dontwarn okio.**
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
||||||
|
|
||||||
# Uncomment this to preserve the line number information for
|
|
||||||
# debugging stack traces.
|
|
||||||
#-keepattributes SourceFile,LineNumberTable
|
|
||||||
|
|
||||||
# If you keep the line number information, uncomment this to
|
|
||||||
# hide the original source file name.
|
|
||||||
#-renamesourcefileattribute SourceFile
|
|
||||||
Reference in New Issue
Block a user