summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-08-13 11:23:03 +0200
committerGitHub <noreply@github.com>2020-08-13 14:53:03 +0530
commita1f3d118c99397502377b604419c2cb3c3fb821e (patch)
tree6f968bdbb08c0ed73caf11c8939f2562e5c758fd
parent4e8da9b5f9fb19ba09abb52c0dd10955a291c7a8 (diff)
Update R8 rules (#1017)
Removes superfluous dontwarn rules, adds relevant new ones and removes a keep rule for SearchView that has meanwhile been added to the dependency.
-rw-r--r--app/proguard-rules.pro11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 3ffa9d7c..753f02ab 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -15,20 +15,19 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
--dontwarn java.lang.invoke.*
--dontwarn org.eclipse.jgit.**
--dontwarn com.google.common.**
--dontwarn org.slf4j.**
--keep class androidx.appcompat.widget.SearchView { *; }
-keepattributes SourceFile,LineNumberTable
-dontobfuscate
+
-keep class com.jcraft.jsch.**
-keep class org.eclipse.jgit.internal.JGitText { *; }
-keep class org.bouncycastle.jcajce.provider.** { *; }
-keep class org.bouncycastle.jce.provider.** { *; }
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi { *; }
-
# WhatTheStack
-keep class com.haroldadmin.whatthestack.WhatTheStackInitializer {
<init>();
}
+
+-dontwarn sun.misc.SignalHandler
+-dontwarn java.lang.instrument.ClassFileTransformer
+-dontwarn javax.servlet.ServletContextListener