Fix UI bug caused by obfuscation

This commit is contained in:
Anthony Restaino 2015-09-29 07:42:56 -04:00
parent f761383fc4
commit a015d810ea
2 changed files with 15 additions and 3 deletions

View File

@ -7,7 +7,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 23 targetSdkVersion 23
versionName "4.2.1a" versionName "4.2.2a"
} }
sourceSets { sourceSets {
lightningPlus.setRoot('src/LightningPlus') lightningPlus.setRoot('src/LightningPlus')
@ -30,12 +30,12 @@ android {
lightningPlus { lightningPlus {
buildConfigField "boolean", "FULL_VERSION", "true" buildConfigField "boolean", "FULL_VERSION", "true"
applicationId "acr.browser.lightning" applicationId "acr.browser.lightning"
versionCode 82 versionCode 83
} }
lightningLite { lightningLite {
buildConfigField "boolean", "FULL_VERSION", "false" buildConfigField "boolean", "FULL_VERSION", "false"
applicationId "acr.browser.barebones" applicationId "acr.browser.barebones"
versionCode 83 versionCode 84
} }
} }
lintOptions { lintOptions {

View File

@ -50,6 +50,18 @@
public static *** i(...); public static *** i(...);
} }
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}
-keepclasseswithmembernames class * {
@butterknife.* <methods>;
}
# this will fix a force close in ReadingActivity # this will fix a force close in ReadingActivity
-keep public class org.jsoup.** { -keep public class org.jsoup.** {
public *; public *;