1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-22 07:14:59 +01:00

enable R8 code shrinker, (but disables obfuscate)

This commit is contained in:
tateisu 2019-02-15 11:11:39 +09:00
parent 8a42c1bf68
commit 4bd26a9737
12 changed files with 14 additions and 6 deletions

View File

@ -16,7 +16,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View File

@ -19,3 +19,5 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate

View File

@ -24,7 +24,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

View File

@ -38,3 +38,4 @@
## for DexGuard only
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule
-dontobfuscate

View File

@ -15,3 +15,4 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-dontobfuscate

View File

@ -14,7 +14,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View File

@ -19,3 +19,4 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate

View File

@ -13,7 +13,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View File

@ -23,3 +23,4 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate

View File

@ -22,4 +22,5 @@ org.gradle.jvmargs=-Xmx4096m
org.gradle.caching=true
android.useAndroidX=true
android.enableJetifier=true
android.debug.obsoleteApi=true
android.enableR8=true

View File

@ -18,7 +18,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View File

@ -19,3 +19,4 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-dontobfuscate