Kryo 4.0.0 and remove ProGuard
This commit is contained in:
parent
3a797f2484
commit
44fd27ad33
|
@ -14,20 +14,6 @@ android {
|
||||||
setProperty("archivesBaseName", "Audinaut $versionName")
|
setProperty("archivesBaseName", "Audinaut $versionName")
|
||||||
resConfigs "de", "es", "fr", "hu", "nl", "pt-rPT", "ru", "sv"
|
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 {
|
packagingOptions {
|
||||||
exclude 'META-INF/beans.xml'
|
exclude 'META-INF/beans.xml'
|
||||||
|
@ -47,6 +33,7 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
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:support-v4:23.4.+'
|
||||||
compile 'com.android.support:appcompat-v7:23.4.+'
|
compile 'com.android.support:appcompat-v7:23.4.+'
|
||||||
compile 'com.android.support:mediarouter-v7:23.4.+'
|
compile 'com.android.support:mediarouter-v7:23.4.+'
|
||||||
|
|
Binary file not shown.
|
@ -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 <methods>;
|
|
||||||
}
|
|
||||||
|
|
||||||
-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
|
|
Loading…
Reference in New Issue