~singpolyma/cheogram-android

02011790b442b16f348f31cfc20d1586df6ec5ed — Daniel Gultsch 6 years ago 3879717
enable proguard
2 files changed, 32 insertions(+), 0 deletions(-)

M build.gradle
A proguard-rules.pro
M build.gradle => build.gradle +14 -0
@@ 87,6 87,20 @@ android {
        free
    }

    buildTypes {
        release {
            shrinkResources true
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
            shrinkResources true
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }



    if(new File("signing.properties").exists()) {
        Properties props = new Properties()

A proguard-rules.pro => proguard-rules.pro +18 -0
@@ 0,0 1,18 @@
-dontobfuscate

-keep class eu.siacs.conversations.**

-keep class org.whispersystems.**

-keep class com.kyleduo.switchbutton.Configuration

-keep class com.soundcloud.android.crop.**

-keep class com.google.android.gms.**

-keep class org.openintents.openpgp.*

-dontwarn org.bouncycastle.mail.**
-dontwarn org.bouncycastle.x509.util.LDAPStoreHelper
-dontwarn org.bouncycastle.jce.provider.X509LDAPCertStoreSpi
-dontwarn org.bouncycastle.cert.dane.**