Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-05-03 12:16:07 +02:00
commit e172ad8cc7
2 changed files with 37 additions and 31 deletions

View file

@ -141,15 +141,15 @@ android {
buildTypes { buildTypes {
debug { debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
minifyEnabled true minifyEnabled true
// proguardFiles 'proguard-project.txt' proguardFiles 'proguard-project.txt'
signingConfig signingConfigs.development signingConfig signingConfigs.development
} }
release { release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' // proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
minifyEnabled true minifyEnabled true
// proguardFiles 'proguard-project.txt' proguardFiles 'proguard-project.txt'
signingConfig signingConfigs.publishing signingConfig signingConfigs.publishing
} }
} }

View file

@ -7,32 +7,38 @@
# Allow obfuscation of android.support.v7.internal.view.menu.** # Allow obfuscation of android.support.v7.internal.view.menu.**
# to avoid problem on Samsung 4.2.2 devices with appcompat v21 # to avoid problem on Samsung 4.2.2 devices with appcompat v21
# see https://code.google.com/p/android/issues/detail?id=78377 # see https://code.google.com/p/android/issues/detail?id=78377
-dontshrink -keepattributes **
-dontoptimize -keep class !android.support.v7.internal.view.menu.**,** {*;}
-keep interface ** { *; }
-keep enum ** { *; }
-dontpreverify -dontpreverify
-verbose -dontoptimize
-keep class !android.support.v7.internal.view.menu.**,android.support.** {*;} -dontshrink
-keep class net.osmand.** { *; }
-keep interface net.osmand.** { *; }
-keep class com.** { *; }
-keep interface com.** { *; }
-keep class net.** { *; }
-keep interface net.** { *; }
-keep class gnu.** { *; }
-keep interface gnu.** { *; }
-keep class org.** { *; }
-keep interface org.** { *; }
-keep class bsh.** { *; }
-keep interface bsh.** { *; }
-keep class btools.** { *; }
-keep interface btools.** { *; }
-keep class alice.** { *; }
-keep interface alice.** { *; }
-dontwarn alice.** -dontwarn alice.**
-verbose
#-keep class !android.support.v7.internal.view.menu.**,android.support.** {*;}
#-keep class net.osmand.** { *; }
#-keep interface net.osmand.** { *; }
#
#-keep class com.** { *; }
#-keep interface com.** { *; }
#
#-keep class net.** { *; }
#-keep interface net.** { *; }
#
#-keep class gnu.** { *; }
#-keep interface gnu.** { *; }
#
#-keep class org.** { *; }
#-keep interface org.** { *; }
#
#-keep class bsh.** { *; }
#-keep interface bsh.** { *; }
#
#-keep class btools.** { *; }
#-keep interface btools.** { *; }
#
#-keep class alice.** { *; }
#-keep interface alice.** { *; }
#-dontwarn alice.**