diff --git a/app/build.gradle b/app/build.gradle index 2e15b66..cb61319 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,20 +14,6 @@ android { setProperty("archivesBaseName", "Audinaut $versionName") resConfigs "de", "es", "fr", "hu", "nl", "pt-rPT", "ru", "sv" } - buildTypes { - release { - minifyEnabled true - shrinkResources true - proguardFiles 'proguard.cfg' - zipAlignEnabled true - } - fix { - minifyEnabled true - shrinkResources true - proguardFiles 'proguard.cfg' - zipAlignEnabled true - } - } packagingOptions { exclude 'META-INF/beans.xml' @@ -47,6 +33,7 @@ android { dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') + compile 'com.esotericsoftware:kryo:4.0.0' compile 'com.android.support:support-v4:23.4.+' compile 'com.android.support:appcompat-v7:23.4.+' compile 'com.android.support:mediarouter-v7:23.4.+' diff --git a/app/libs/kryo-2.21-all.jar b/app/libs/kryo-2.21-all.jar deleted file mode 100644 index 83f8b0f..0000000 Binary files a/app/libs/kryo-2.21-all.jar and /dev/null differ diff --git a/app/proguard.cfg b/app/proguard.cfg deleted file mode 100644 index a18ae91..0000000 --- a/app/proguard.cfg +++ /dev/null @@ -1,62 +0,0 @@ --dontobfuscate --optimizationpasses 5 --dontusemixedcaseclassnames --dontskipnonpubliclibraryclasses --dontpreverify --verbose --optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable - --keep public class * extends android.app.Activity --keep public class * extends android.app.Application --keep public class * extends android.app.Service --keep public class * extends android.content.BroadcastReceiver --keep public class * extends android.content.ContentProvider --keep public class * extends android.app.backup.BackupAgentHelper --keep public class * extends android.preference.Preference - -# Kryo --keep,allowshrinking class java.beans.** { *; } --keep,allowshrinking class sun.reflect.** { *; } --dontwarn sun.reflect.** --dontwarn java.beans.** --keepclassmembers public class com.esotericsoftware.** { *; } - --keepclasseswithmembernames class * { - native ; -} - --keepclassmembers class * extends android.app.Activity { - public void *(android.view.View); -} - --keepclassmembers public class * extends android.view.View { - void set*(***); - *** get*(); -} - --keepclassmembers enum * { - public static **[] values(); - public static ** valueOf(java.lang.String); -} - --keep class * implements android.os.Parcelable { - public static final android.os.Parcelable$Creator *; -} - --keep class android.support.v7.app.MediaRouteButton { *; } --keep class android.support.v7.widget.SearchView { *; } - --dontwarn android.support.** - -# DLNA/Cling --keep class org.fourthline.cling.** { *; } --keep interface org.fourthline.cling.** { *; } --dontwarn javax.** --dontwarn org.objectweb.** --dontwarn org.slf4j.** --dontwarn org.mortbay.** --dontwarn org.fourthline.** --dontwarn org.seamless.** --dontwarn org.eclipse.** --dontwarn java.** --keepattributes *Annotation*, InnerClasses \ No newline at end of file