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.
This commit is contained in:
Fabian Henneke 2020-08-13 11:23:03 +02:00 committed by GitHub
parent 4e8da9b5f9
commit a1f3d118c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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