From a1f3d118c99397502377b604419c2cb3c3fb821e Mon Sep 17 00:00:00 2001 From: Fabian Henneke Date: Thu, 13 Aug 2020 11:23:03 +0200 Subject: [PATCH] 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. --- app/proguard-rules.pro | 11 +++++------ 1 file 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 { (); } + +-dontwarn sun.misc.SignalHandler +-dontwarn java.lang.instrument.ClassFileTransformer +-dontwarn javax.servlet.ServletContextListener